mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 11:32:13 +00:00
Merge pull request #83076 from SaracenOne/make_rest_fixer_tracks_imported
Set new SkeletonRestFixer tracks as imported
This commit is contained in:
commit
fb6dc8c630
@ -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());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user