summaryrefslogtreecommitdiff
path: root/editor/scene_tree_dock.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-11-13 15:11:27 +0100
committerGitHub <noreply@github.com>2020-11-13 15:11:27 +0100
commite69a0b1f7a2a63dffbb38f3ac770ed60866c6e4f (patch)
tree075ca57ce4b91d24d768919bb498b5b8419985fd /editor/scene_tree_dock.cpp
parentf73374629dd57d3eea6a960859ca223fa2d95fc4 (diff)
parentd107fd4c9e198e6100eb683ee4fb13d5c6b3ba31 (diff)
Merge pull request #43497 from akien-mga/reparent_crash_with_tracks_renaming_disabled
SceneTree: Fix reparent crash with animation tracks renaming disabled
Diffstat (limited to 'editor/scene_tree_dock.cpp')
-rw-r--r--editor/scene_tree_dock.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/editor/scene_tree_dock.cpp b/editor/scene_tree_dock.cpp
index add5047c99..038b18a648 100644
--- a/editor/scene_tree_dock.cpp
+++ b/editor/scene_tree_dock.cpp
@@ -1270,10 +1270,6 @@ void SceneTreeDock::_fill_path_renames(Vector<StringName> base_path, Vector<Stri
}
void SceneTreeDock::fill_path_renames(Node *p_node, Node *p_new_parent, List<Pair<NodePath, NodePath>> *p_renames) {
- if (!bool(EDITOR_DEF("editors/animation/autorename_animation_tracks", true))) {
- return;
- }
-
Vector<StringName> base_path;
Node *n = p_node->get_parent();
while (n) {