bugfix for join meshes, add opacity check also

This commit is contained in:
Mark Vejvoda 2013-06-22 22:41:37 +00:00
parent b418d46254
commit 9549b7f87a

View File

@ -1578,7 +1578,8 @@ void Model::autoJoinMeshFrames() {
mesh_key += string("_") + intToStr(mesh.getFrameCount()) +
string("_") + intToStr(mesh.getTwoSided()) +
string("_") + intToStr(mesh.getCustomTexture()) +
string("_") + intToStr(mesh.getNoSelect());
string("_") + intToStr(mesh.getNoSelect()) +
string("_") + floatToStr(mesh.getOpacity());
joinedMeshes[mesh_key].add(index,&mesh);
if(haveJoinedMeshes == false && joinedMeshes[mesh_key].size() > 1) {