diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-11-03 17:31:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-03 17:31:48 +0100 |
commit | a2803f3d869d92666e59b5750ec65af54c7ac805 (patch) | |
tree | de31d4ef943e5aca7f40fc6a9ad898f23ba17405 /modules/fbx/editor_scene_importer_fbx.cpp | |
parent | 25bea735449d4e762e3c5f6b960d5f5b9cf79ac1 (diff) | |
parent | de4f29f458fd07d9fb132e38662359e2850c566c (diff) |
Merge pull request #54072 from KoBeWi/hrcr_is_ded
Diffstat (limited to 'modules/fbx/editor_scene_importer_fbx.cpp')
-rw-r--r-- | modules/fbx/editor_scene_importer_fbx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/fbx/editor_scene_importer_fbx.cpp b/modules/fbx/editor_scene_importer_fbx.cpp index 9bdeafbf91..b11c145599 100644 --- a/modules/fbx/editor_scene_importer_fbx.cpp +++ b/modules/fbx/editor_scene_importer_fbx.cpp @@ -843,7 +843,7 @@ Node3D *EditorSceneFormatImporterFBX::_generate_scene( if (state.animation_player == nullptr) { print_verbose("Creating animation player"); state.animation_player = memnew(AnimationPlayer); - state.root->add_child(state.animation_player); + state.root->add_child(state.animation_player, true); state.animation_player->set_owner(state.root_owner); } |