Fix transition clipping.
This commit is contained in:
@@ -458,8 +458,8 @@ namespace Cryville.Crtr.Event {
|
||||
static readonly PropSrc _ttimesrc = new PropSrc.Float(() => _ttime);
|
||||
static readonly PropOp _transop = new PropOp.Vector4(v => _trans = v);
|
||||
Vector4 GetTransition(float time, PdtExpression transition) {
|
||||
if (time >= 1 || transition == null)
|
||||
return new Vector4(time, time, time, time);
|
||||
if (time >= 1) return Vector4.one;
|
||||
if (transition == null) return new Vector4(time, time, time, time);
|
||||
_ttime = time;
|
||||
_ttimesrc.Invalidate();
|
||||
ChartPlayer.etor.ContextSelfValue = _ttimesrc;
|
||||
|
Reference in New Issue
Block a user