summaryrefslogtreecommitdiff
path: root/modules/fbx
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2021-10-21 16:46:07 +0200
committerkobewi <kobewi4e@gmail.com>2021-10-28 01:43:34 +0200
commitde4f29f458fd07d9fb132e38662359e2850c566c (patch)
tree97098883d5c6feb0d7edb0abb763d716b657ac83 /modules/fbx
parent9c9ec63e1dbd33cace4a988783f1130b4c3f06ad (diff)
Remove node_hrcr hack
Diffstat (limited to 'modules/fbx')
-rw-r--r--modules/fbx/editor_scene_importer_fbx.cpp2
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);
}