Stage 6: Document::change() always refreshes derived data; ChangeType removed

change() now flushes drafts, re-syncs assets and shaders, rebuilds every label
list and the uid index, and commits. Document::ChangeType, the switch in
change(), the type parameter of edit_apply/edit_run/edit_push/assets_sync,
Window::changeType and every per-call change type (about 40 sites) are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-03 15:59:44 -04:00
1 parent 9f43a210c5
commit 2d0f70b1e5
25 files changed
+128 -202

No files matched your search

+1 -1
View File
@@ -77,7 +77,7 @@ namespace anm2ed::imgui
queuedReference.groupId});
if (state == edit_state::START || state == edit_state::COMPLETE) document.edit_begin(message);
behavior(document, *frame, item, queuedReference);
if (state == edit_state::END || state == edit_state::COMPLETE) document.change(Document::FRAMES);
if (state == edit_state::END || state == edit_state::COMPLETE) document.change();
}});
};