From de4f29f458fd07d9fb132e38662359e2850c566c Mon Sep 17 00:00:00 2001 From: kobewi Date: Thu, 21 Oct 2021 16:46:07 +0200 Subject: Remove node_hrcr hack --- modules/fbx/editor_scene_importer_fbx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/fbx/editor_scene_importer_fbx.cpp') 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); } -- cgit v1.2.3