Design View: no undo block may open over the reclaim span, and a reapply closes none

Every opener ends the span first, so a tag fired mid-drain no longer hijacks the
switch's point. One stated criterion governs both lane sites; no-op actions discard.
This commit is contained in:
2026-08-07 15:13:52 -04:00
parent 39529a5ac4
commit b2f6b3f1d0
9 changed files with 210 additions and 76 deletions
+2 -3
View File
@@ -144,7 +144,6 @@ TrackParkResult parkTrack(ViewModeModel& model, const std::string& guid, MediaTr
snap.fxKeying = prior->fxKeying;
}
model.storeSnapshot(guid, snap);
result.wrote = true;
}
if (applyFlags(tr, flags)) result.wrote = true;
@@ -153,9 +152,9 @@ TrackParkResult parkTrack(ViewModeModel& model, const std::string& guid, MediaTr
bool restoreTrack(ViewModeModel& model, const std::string& guid, MediaTrack* tr,
const std::vector<TrackFlagOp>& flags) {
applyFlags(tr, flags);
const bool wrote = applyFlags(tr, flags);
model.releaseSnapshotFlags(guid);
return true;
return wrote;
}
std::string trackDisplayName(MediaTrack* tr) {