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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user