mirror of https://github.com/axmolengine/axmol.git
CCBReader error with generated animations
synchronous with cocos2d-iPhone
This commit is contained in:
parent
a329817480
commit
2f0e10cd74
|
@ -457,6 +457,11 @@ void CCBAnimationManager::setFirstFrame(CCNode *pNode, CCBSequenceProperty *pSeq
|
||||||
|
|
||||||
CCActionInterval* CCBAnimationManager::getEaseAction(CCActionInterval *pAction, int nEasingType, float fEasingOpt)
|
CCActionInterval* CCBAnimationManager::getEaseAction(CCActionInterval *pAction, int nEasingType, float fEasingOpt)
|
||||||
{
|
{
|
||||||
|
if (dynamic_cast<CCSequence*>(pAction))
|
||||||
|
{
|
||||||
|
return pAction;
|
||||||
|
}
|
||||||
|
|
||||||
if (nEasingType == kCCBKeyframeEasingLinear)
|
if (nEasingType == kCCBKeyframeEasingLinear)
|
||||||
{
|
{
|
||||||
return pAction;
|
return pAction;
|
||||||
|
|
Loading…
Reference in New Issue