浏览代码

- fbx: fix another stupid bug in the multi-mesh splitting code.

Alexander Gessler 13 年之前
父节点
当前提交
72f1734f82
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      code/FBXConverter.cpp

+ 1 - 1
code/FBXConverter.cpp

@@ -409,7 +409,7 @@ private:
 		std::vector<unsigned int> 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);