|
|
@ -989,7 +989,10 @@ public enum BuildingManager { |
|
|
|
if(prop_meshes.containsKey(building.meshUUID) == false) |
|
|
|
if(prop_meshes.containsKey(building.meshUUID) == false) |
|
|
|
return;//no meshes to load for this prop
|
|
|
|
return;//no meshes to load for this prop
|
|
|
|
|
|
|
|
|
|
|
|
ArrayList<Integer> meshes = prop_meshes.get(building.meshUUID); |
|
|
|
//ArrayList<Integer> meshes = prop_meshes.get(building.meshUUID);
|
|
|
|
|
|
|
|
int buildingMeshUUID = building.meshUUID; |
|
|
|
|
|
|
|
int blueprintMeshUUID = building.getBlueprint().getMeshForRank(building.rank); |
|
|
|
|
|
|
|
ArrayList<Integer> meshes = prop_meshes.get(building.getBlueprint().getMeshForRank(building.rank)); |
|
|
|
for (int mesh : meshes) { |
|
|
|
for (int mesh : meshes) { |
|
|
|
|
|
|
|
|
|
|
|
if (!mesh_heights.containsKey(mesh) || !mesh_triangle_points.containsKey(mesh)) |
|
|
|
if (!mesh_heights.containsKey(mesh) || !mesh_triangle_points.containsKey(mesh)) |
|
|
|