Guard editor shutdown and track clean savepoints

This commit is contained in:
Rbanh committed 2026-07-13 05:12:43 -04:00
1 parent 62b538999d
commit 4b33f32357
19 files changed
+1944 -129

No files matched your search

+2 -2
View File
@@ -1631,7 +1631,7 @@ pub fn apply_command_undo(world: &mut World) {
undo_command(world, &mut command);
world.resource_mut::<EditorHistory>().push_redo(command);
world.resource_mut::<EditorHistory>().set_redo_status(label);
mark_dirty(world);
crate::scene_io::reconcile_active_dirty_with_checkpoint(world);
}
pub fn apply_command_redo(world: &mut World) {
@@ -1652,7 +1652,7 @@ pub fn apply_command_redo(world: &mut World) {
redo_command(world, &mut command);
world.resource_mut::<EditorHistory>().push_undo(command);
world.resource_mut::<EditorHistory>().set_undo_status(label);
mark_dirty(world);
crate::scene_io::reconcile_active_dirty_with_checkpoint(world);
}
fn prepare_prefab_source_history(