From 290016364489c6aaa24183810e9eb37a8ae1cb9e Mon Sep 17 00:00:00 2001 From: Ross Boucher Date: Fri, 9 Oct 2009 14:30:56 -0700 Subject: [PATCH] Fixes bug in CPAnimation where certain ivars were not initialized correctly. Closes #287. --- AppKit/CPAnimation.j | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/AppKit/CPAnimation.j b/AppKit/CPAnimation.j index f316912ed..ff59e7e8a 100644 --- a/AppKit/CPAnimation.j +++ b/AppKit/CPAnimation.j @@ -106,8 +106,9 @@ ACTUAL_FRAME_RATE = 0; { _progress = 0.0; _duration = MAX(0.0, aDuration); - _animationCurve = anAnimationCurve; _frameRate = 60.0; + + [self setAnimationCurve:anAnimationCurve]; } return self;