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:
1 parent
9f43a210c5
commit
2d0f70b1e5
25 files changed
+128
-202
No files matched your search
@@ -257,7 +257,7 @@ namespace anm2ed::imgui::wizard
|
||||
targets.references = {selectedItemReferences.begin(), selectedItemReferences.end()};
|
||||
else
|
||||
targets.animations = queuedAnimations;
|
||||
document.edit_apply(EDIT_CHANGE_FRAME_PROPERTIES, Document::FRAMES, [&](Anm2& anm2)
|
||||
document.edit_apply(EDIT_CHANGE_FRAME_PROPERTIES, [&](Anm2& anm2)
|
||||
{ return edit::frames_change_apply(anm2, targets, frameChange, changeType); });
|
||||
}});
|
||||
isChanged = true;
|
||||
|
||||
Reference in new issue
Block a user