mirror of
https://github.com/godotengine/godot.git
synced 2025-10-28 12:14:44 +00:00
Merge pull request #101450 from TokageItLab/reset-anim-skeleton
Change reset timing of the AnimationMixer and Skeleton on save
This commit is contained in:
commit
bb8001c83a
2 changed files with 9 additions and 2 deletions
|
|
@ -1910,11 +1910,12 @@ void EditorNode::_save_scene(String p_file, int idx) {
|
|||
return;
|
||||
}
|
||||
|
||||
List<Pair<AnimationMixer *, Ref<AnimatedValuesBackup>>> anim_backups;
|
||||
_reset_animation_mixers(scene, &anim_backups);
|
||||
|
||||
scene->propagate_notification(NOTIFICATION_EDITOR_PRE_SAVE);
|
||||
|
||||
editor_data.apply_changes_in_editors();
|
||||
List<Pair<AnimationMixer *, Ref<AnimatedValuesBackup>>> anim_backups;
|
||||
_reset_animation_mixers(scene, &anim_backups);
|
||||
save_default_environment();
|
||||
|
||||
_save_editor_states(p_file, idx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue