Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing issue 1304

  • Loading branch information...
commit 2a13ddc23422d710c406e38dd1e9ec3f73cf3f79 1 parent 3c96458
@Shakthi Shakthi authored
Showing with 9 additions and 1 deletion.
  1. +9 −1 CocosDenshion/CocosDenshionExtras/CDXPropertyModifierAction.m
View
10 CocosDenshion/CocosDenshionExtras/CDXPropertyModifierAction.m
@@ -40,11 +40,19 @@ -(id) initWithDuration:(ccTime)t modifier:(CDPropertyModifier*) aModifier;
}
modifier = aModifier;
[modifier retain];
- lastSetValue = [modifier _getTargetProperty];
+ //lastSetValue = [modifier _getTargetProperty];//Issue 1304
}
return self;
}
+
+
+-(void) startWithTarget:(id)aTarget
+{
+ [super startWithTarget:aTarget];
+ lastSetValue = [modifier _getTargetProperty];
+}
+
-(void) dealloc {
CDLOG(@"Denshon::CDXPropertyModifierAction deallocated %@",self);
[modifier release];
Please sign in to comment.
Something went wrong with that request. Please try again.