mirror of
https://github.com/glest/glest-source.git
synced 2025-08-26 09:24:24 +02:00
bugfix for join meshes, add opacity check also
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user