eremove useless assertion test.

pull/2287/head
Kim Kulling 2018-12-29 21:29:42 +01:00
parent f5e94a2840
commit e09428c95b
1 changed files with 0 additions and 1 deletions

View File

@ -2446,7 +2446,6 @@ void FBXExporter::WriteAnimationCurve(
// TODO: keyattr flags and data (STUB for now) // TODO: keyattr flags and data (STUB for now)
n.AddChild("KeyAttrFlags", std::vector<int32_t>{0}); n.AddChild("KeyAttrFlags", std::vector<int32_t>{0});
n.AddChild("KeyAttrDataFloat", std::vector<float>{0,0,0,0}); n.AddChild("KeyAttrDataFloat", std::vector<float>{0,0,0,0});
ai_assert(static_cast<int32_t>(times.size()) <= std::numeric_limits<int32_t>::max());
n.AddChild( n.AddChild(
"KeyAttrRefCount", "KeyAttrRefCount",
std::vector<int32_t>{static_cast<int32_t>(times.size())} std::vector<int32_t>{static_cast<int32_t>(times.size())}