diff --git a/source/shared_lib/sources/graphics/model.cpp b/source/shared_lib/sources/graphics/model.cpp index edeb5fc2..b7145e26 100644 --- a/source/shared_lib/sources/graphics/model.cpp +++ b/source/shared_lib/sources/graphics/model.cpp @@ -1577,7 +1577,8 @@ void Model::autoJoinMeshFrames() { string mesh_key = ((mesh.getTextureFlags() & 1) && mesh.getTexture(0) ? mesh.getTexture(0)->getPath() : "none"); mesh_key += string("_") + intToStr(mesh.getFrameCount()) + string("_") + intToStr(mesh.getTwoSided()) + - string("_") + intToStr(mesh.getCustomTexture()); + string("_") + intToStr(mesh.getCustomTexture()) + + string("_") + intToStr(mesh.getNoSelect()); joinedMeshes[mesh_key].add(index,&mesh); if(haveJoinedMeshes == false && joinedMeshes[mesh_key].size() > 1) {