提交 a787816f 编写于 作者: O Ohayon Franck

Fix Step Animation with Baking II

上级 9f8d1f9e
......@@ -447,6 +447,8 @@ namespace COLLADAMaya
std::vector<float>::iterator itFound;
itFound = find(times.begin(), times.end(), stepTime);
if (ExportOptions::bakeTransforms() && interpolationType == COLLADASW::LibraryAnimations::STEP)
{
if (itFound != times.begin())
......@@ -455,7 +457,6 @@ namespace COLLADAMaya
continue;
}
itFound = find(times.begin(), times.end(), stepTime);
{
std::vector<float>::iterator itLower = lower_bound(times.begin(), times.end(), stepTime);
int element = (int)(itLower - times.begin());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册