From d044ce7a62723dcef87828decd51820cac42094b Mon Sep 17 00:00:00 2001 From: Alexander Gessler Date: Tue, 17 Jun 2014 14:31:14 +0200 Subject: [PATCH] FBXConverter: avoid creating an empty metadata slot (UDP3DSMAX was erased from list _after_ its size was taken)/ --- code/FBXConverter.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/code/FBXConverter.cpp b/code/FBXConverter.cpp index 89854fc8e..075a4903c 100644 --- a/code/FBXConverter.cpp +++ b/code/FBXConverter.cpp @@ -767,7 +767,6 @@ private: // find user defined properties (3ds Max) data->Set(index++, "UserProperties", aiString(PropertyGet(props, "UDP3DSMAX", ""))); - unparsedProperties.erase("UDP3DSMAX"); // preserve the info that a node was marked as Null node in the original file. data->Set(index++, "IsNull", model.IsNull() ? true : false);