mirror of https://github.com/axmolengine/axmol.git
Merge pull request #10231 from geron-cn/fixanimationlistclone
FIX BUG: animationinfos lost after actiontimeline clone
This commit is contained in:
commit
15bf919000
|
@ -182,6 +182,10 @@ ActionTimeline* ActionTimeline::clone() const
|
|||
}
|
||||
}
|
||||
|
||||
for( auto info : _animationInfos)
|
||||
{
|
||||
newAction->addAnimationInfo(info.second);
|
||||
}
|
||||
return newAction;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue