Remove node_hrcr hack

This commit is contained in:
kobewi
2021-10-21 16:46:07 +02:00
parent 9c9ec63e1d
commit de4f29f458
15 changed files with 42 additions and 50 deletions

View File

@@ -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);
}