From 72f1734f82366c2933b41b1dc1e6483c37748481 Mon Sep 17 00:00:00 2001 From: Alexander Gessler Date: Fri, 6 Jul 2012 17:00:59 +0200 Subject: [PATCH] - fbx: fix another stupid bug in the multi-mesh splitting code. --- code/FBXConverter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/FBXConverter.cpp b/code/FBXConverter.cpp index 5e69766ba..58f42adf3 100644 --- a/code/FBXConverter.cpp +++ b/code/FBXConverter.cpp @@ -409,7 +409,7 @@ private: std::vector indices; BOOST_FOREACH(unsigned int index, mindices) { - if(had.find(index) != had.end()) { + if(had.find(index) == had.end()) { indices.push_back(ConvertMeshMultiMaterial(mesh, model, index)); had.insert(index);