소스 검색

- 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;
 		std::vector<unsigned int> indices;
 
 
 		BOOST_FOREACH(unsigned int index, mindices) {
 		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));
 				indices.push_back(ConvertMeshMultiMaterial(mesh, model, index));
 				had.insert(index);
 				had.insert(index);