Fixed #6: Crash with message "Time range start must not be less than end."

This commit is contained in:
Daniel Wolf 2017-02-02 20:48:30 +01:00
parent 78ed1c7815
commit def82a0ee6
1 changed files with 1 additions and 1 deletions

View File

@ -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);