Merge pull request #10231 from geron-cn/fixanimationlistclone

FIX BUG:  animationinfos lost after actiontimeline clone
This commit is contained in:
minggo 2015-01-27 15:24:25 +08:00
commit 15bf919000
1 changed files with 5 additions and 1 deletions

View File

@ -182,6 +182,10 @@ ActionTimeline* ActionTimeline::clone() const
}
}
for( auto info : _animationInfos)
{
newAction->addAnimationInfo(info.second);
}
return newAction;
}