Fix missing output clear when reading text array in OpenFBX
https://github.com/nem0/OpenFBX/pull/80
This commit is contained in:
1
Source/ThirdParty/OpenFBX/ofbx.cpp
vendored
1
Source/ThirdParty/OpenFBX/ofbx.cpp
vendored
@@ -2131,6 +2131,7 @@ template <> const char* fromString<Matrix>(const char* str, const char* end, Mat
|
||||
|
||||
template <typename T> static void parseTextArray(const Property& property, std::vector<T>* out)
|
||||
{
|
||||
out->clear();
|
||||
const u8* iter = property.value.begin;
|
||||
for (int i = 0; i < property.count; ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user