summaryrefslogtreecommitdiffstats
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-03-06 21:39:19 +0100
committerkobewi <kobewi4e@gmail.com>2022-03-06 22:05:49 +0100
commit2057ea2883ed1fdd3ebb07562f3a4ba370082e5c (patch)
tree6a80a5170e16b866ec3545f0ec7a7542812c22bb /editor/scene_tree_dock.cpp
parent92615be68cddfc30b943f5eea942cc3c22b84bb6 (diff)
downloadredot-engine-2057ea2883ed1fdd3ebb07562f3a4ba370082e5c.tar.gz
Remove duplicate editor settings definitions
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r--editor/scene_tree_dock.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index 628e7880a1..571b87a0aa 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -1535,7 +1535,7 @@ void SceneTreeDock::perform_node_renames(Node *p_base, Map<Node *, NodePath> *p_
}
}
- bool autorename_animation_tracks = bool(EDITOR_DEF("editors/animation/autorename_animation_tracks", true));
+ bool autorename_animation_tracks = bool(EDITOR_GET("editors/animation/autorename_animation_tracks"));
if (autorename_animation_tracks && Object::cast_to<AnimationPlayer>(p_base)) {
AnimationPlayer *ap = Object::cast_to<AnimationPlayer>(p_base);