CCBReader error with generated animations

synchronous with cocos2d-iPhone
This commit is contained in:
hailong 2013-02-19 12:27:39 +08:00
parent a329817480
commit 2f0e10cd74
1 changed files with 5 additions and 0 deletions

View File

@ -457,6 +457,11 @@ void CCBAnimationManager::setFirstFrame(CCNode *pNode, CCBSequenceProperty *pSeq
CCActionInterval* CCBAnimationManager::getEaseAction(CCActionInterval *pAction, int nEasingType, float fEasingOpt)
{
if (dynamic_cast<CCSequence*>(pAction))
{
return pAction;
}
if (nEasingType == kCCBKeyframeEasingLinear)
{
return pAction;