FBXConverter: avoid creating an empty metadata slot (UDP3DSMAX was erased from list _after_ its size was taken)/
parent
1d0e2685d5
commit
d044ce7a62
|
@ -767,7 +767,6 @@ private:
|
||||||
|
|
||||||
// find user defined properties (3ds Max)
|
// find user defined properties (3ds Max)
|
||||||
data->Set(index++, "UserProperties", aiString(PropertyGet<std::string>(props, "UDP3DSMAX", "")));
|
data->Set(index++, "UserProperties", aiString(PropertyGet<std::string>(props, "UDP3DSMAX", "")));
|
||||||
unparsedProperties.erase("UDP3DSMAX");
|
|
||||||
// preserve the info that a node was marked as Null node in the original file.
|
// preserve the info that a node was marked as Null node in the original file.
|
||||||
data->Set(index++, "IsNull", model.IsNull() ? true : false);
|
data->Set(index++, "IsNull", model.IsNull() ? true : false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue