From 96c3d0e73ec9fa848ae0e358557d1ea8d87631ae Mon Sep 17 00:00:00 2001 From: Saracen Date: Mon, 9 Oct 2023 23:43:37 +0100 Subject: [PATCH] Set new RestFixer tracks as imported --- editor/import/post_import_plugin_skeleton_rest_fixer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/editor/import/post_import_plugin_skeleton_rest_fixer.cpp b/editor/import/post_import_plugin_skeleton_rest_fixer.cpp index cd31499b800..3390bf4ed4b 100644 --- a/editor/import/post_import_plugin_skeleton_rest_fixer.cpp +++ b/editor/import/post_import_plugin_skeleton_rest_fixer.cpp @@ -242,6 +242,7 @@ void PostImportPluginSkeletonRestFixer::internal_process(InternalImportCategory if (rot_track == -1) { int track = anim->add_track(Animation::TYPE_ROTATION_3D); anim->track_set_path(track, insert_path); + anim->track_set_imported(track, true); anim->rotation_track_insert_key(track, 0, src_skeleton->get_bone_rest(src_idx).basis.get_rotation_quaternion()); } }