Skip to content

Commit

Permalink
Fixed #6: Crash with message "Time range start must not be less than …
Browse files Browse the repository at this point in the history
…end."
  • Loading branch information
DanielSWolf committed Feb 2, 2017
1 parent 78ed1c7 commit def82a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/animation/timingOptimization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit def82a0

Please sign in to comment.