Merge pull request #43497 from akien-mga/reparent_crash_with_tracks_renaming_disabled
SceneTree: Fix reparent crash with animation tracks renaming disabled
This commit is contained in:
commit
e69a0b1f7a
1 changed files with 0 additions and 4 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue