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

@ -181,7 +181,11 @@ ActionTimeline* ActionTimeline::clone() const
newAction->addTimeline(newTimeline);
}
}
for( auto info : _animationInfos)
{
newAction->addAnimationInfo(info.second);
}
return newAction;
}