When giving nodes an effective EID, ignore trailing PopMarker EID

* This applies when selecting a marker region, the effective EID is the one
  actually replayed to an represented in the UI. As-if it were directly
  selected.
This commit is contained in:
baldurk
2021-08-24 19:00:44 +01:00
parent fe50a5674a
commit 137893f508
+2
View File
@@ -1011,6 +1011,8 @@ private:
ret.action = action;
ret.effectiveEID = actionRange.back().eventId;
if(actionRange.back().flags & ActionFlags::PopMarker)
ret.effectiveEID--;
ret.row2action[0] = 0;