Fixed #6: Crash with message "Time range start must not be less than end."
This commit is contained in:
parent
78ed1c7815
commit
def82a0ee6
|
@ -131,7 +131,7 @@ JoiningContinuousTimeline<Shape> retime(const JoiningContinuousTimeline<Shape>&
|
|||
TimeRange targetShapeRange(shapeReduction.sourceShapes.getRange());
|
||||
if (targetShapeRange.getStart() <= sourceShapes.getRange().getStart()) {
|
||||
// We've used up the left-most source shape. Fill the entire remaining target range.
|
||||
targetShapeRange.setStart(targetRange.getStart());
|
||||
targetShapeRange.setStartIfEarlier(targetRange.getStart());
|
||||
}
|
||||
targetShapeRange.trimRight(writePosition);
|
||||
|
||||
|
|
Loading…
Reference in New Issue