From 00449ef7c0ff25df1588f31259d5d6e54b6d519c Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 1 Apr 2015 17:50:35 -0700 Subject: [PATCH] new member variable to remember the order in which meshes appeared in the model file --- libraries/fbx/src/OBJReader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libraries/fbx/src/OBJReader.cpp b/libraries/fbx/src/OBJReader.cpp index 7e71ba07f7..f7b5a3b10d 100644 --- a/libraries/fbx/src/OBJReader.cpp +++ b/libraries/fbx/src/OBJReader.cpp @@ -343,6 +343,7 @@ FBXGeometry readOBJ(QIODevice* device, const QVariantHash& mapping) { } FBXMesh &mesh = geometry.meshes[0]; + mesh.meshIndex = 0; // if we got a hint about units, scale all the points if (scaleGuess != 1.0f) {