Added recalculate() method to KeyframeList to recalc the underlying Interpolation
Recalculate Keyframe Lists in ReplayHandler upon firing a KeyframesModifyEvent
This commit is contained in:
@@ -579,6 +579,7 @@ public class ReplayHandler {
|
||||
|
||||
public static void fireKeyframesModifyEvent() {
|
||||
FMLCommonHandler.instance().bus().post(new KeyframesModifyEvent(positionKeyframes, timeKeyframes));
|
||||
|
||||
positionKeyframes.recalculate(ReplayMod.replaySettings.isLinearMovement());
|
||||
timeKeyframes.recalculate(ReplayMod.replaySettings.isLinearMovement());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user