Permalink
Browse files

SplinePlayer gui: if no maxTime supplied use last spline point

  • Loading branch information...
crucialfelix committed Apr 11, 2012
1 parent 5a4887e commit 5f2f7240e982e8f85a43a00310520b7379d3534b
Showing with 1 addition and 1 deletion.
  1. +1 −1 Players/SplinePlayer.sc
View
@@ -114,7 +114,7 @@ SplineFr {
^[prev,nil]
}
gui { arg layout,bounds,maxTime;
- ^spline.gui(layout,bounds,spec,ControlSpec(0,maxTime))
+ ^spline.gui(layout,bounds,spec,ControlSpec(0,maxTime??{spline.points.last.x}))
}
}

0 comments on commit 5f2f724

Please sign in to comment.