- fbx: fix another stupid bug in the multi-mesh splitting code.
parent
2d2a87b70c
commit
72f1734f82
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue