|
|
|
@ -995,8 +995,11 @@ public enum BuildingManager {
@@ -995,8 +995,11 @@ public enum BuildingManager {
|
|
|
|
|
|
|
|
|
|
for (int mesh : meshes) { |
|
|
|
|
|
|
|
|
|
if (!mesh_heights.containsKey(mesh) || !mesh_triangle_points.containsKey(mesh)) |
|
|
|
|
return; //no data for this mesh
|
|
|
|
|
if (!mesh_heights.containsKey(mesh)) { |
|
|
|
|
continue; //no data for this mesh
|
|
|
|
|
} |
|
|
|
|
if(!mesh_triangle_points.containsKey(mesh)) |
|
|
|
|
continue; |
|
|
|
|
|
|
|
|
|
Mesh generatedMesh = new Mesh(); |
|
|
|
|
generatedMesh.parentBuilding = building; |
|
|
|
|