Update parse animation easing

This commit is contained in:
pipu 2015-04-10 17:05:55 +08:00
parent bdc67d9573
commit 755134ba3f
2 changed files with 2 additions and 2 deletions

View File

@ -866,13 +866,13 @@ void ActionTimelineCache::loadEasingDataWithFlatBuffers(cocostudio::timeline::Fr
auto points = flatbuffers->points();
if (points)
{
std::vector<float> easings;
for (auto it = points->begin(); it != points->end(); ++it)
{
std::vector<float> easings;
easings.push_back(it->x());
easings.push_back(it->y());
frame->setEasingParams(easings);
}
frame->setEasingParams(easings);
}
}