fixed crash during fbx import

This commit is contained in:
Mikulas Florek 2017-11-06 13:30:20 +01:00
parent d50435998b
commit 14946d6830

View file

@ -1804,6 +1804,7 @@ template <typename T> static bool parseBinaryArray(const Property& property, std
int elem_count = sizeof(T) / elem_size;
out->resize(count / elem_count);
if (count == 0) return true;
return parseArrayRaw(property, &(*out)[0], int(sizeof((*out)[0]) * out->size()));
}
else