diff --git a/src/animation/timingOptimization.cpp b/src/animation/timingOptimization.cpp index b86cb786..a6638572 100644 --- a/src/animation/timingOptimization.cpp +++ b/src/animation/timingOptimization.cpp @@ -131,7 +131,7 @@ JoiningContinuousTimeline retime(const JoiningContinuousTimeline& 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);