Fixes bug in CPAnimation where certain ivars were not initialized correctly.

Closes #287.
This commit is contained in:
Ross Boucher
2009-10-09 14:30:56 -07:00
parent e125139777
commit 2900163644
+2 -1
View File
@@ -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;