A few more curve fixes
This commit is contained in:
parent
d2598a1872
commit
1b7b74dc6f
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -157,6 +157,13 @@ namespace FirstPlugin
|
||||
i++;
|
||||
}
|
||||
|
||||
curve.EndFrame = curve.Frames.Max();
|
||||
|
||||
if (curve.Keys.Length > 1)
|
||||
{
|
||||
curve.Delta = curve.Keys[curve.Keys.Length - 1,0] - curve.Keys[0, 0];
|
||||
}
|
||||
|
||||
if (MaxFrame < byte.MaxValue)
|
||||
curve.FrameType = AnimCurveFrameType.Byte;
|
||||
else if (MaxFrame < ushort.MaxValue)
|
||||
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user