fixed crash during fbx import
This commit is contained in:
parent
d50435998b
commit
14946d6830
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue