mirror of https://github.com/axmolengine/axmol.git
Merge pull request #8657 from coldfog/v3
Fix bug that ActionManagerEx::initWithBinary can only load one UI animation
This commit is contained in:
commit
cb220fe528
|
@ -103,7 +103,7 @@ void ActionManagerEx::initWithDictionary(const char* jsonName,const rapidjson::V
|
|||
ActionObject* action = new (std::nothrow) ActionObject();
|
||||
action->autorelease();
|
||||
|
||||
action->initWithBinary(cocoLoader, actionNode->GetChildArray(cocoLoader), root);
|
||||
action->initWithBinary(cocoLoader, &actionNode->GetChildArray(cocoLoader)[i], root);
|
||||
|
||||
actionList.pushBack(action);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue