|
|
@ -1017,7 +1017,7 @@ public enum BuildingManager { |
|
|
|
generatedMesh.parent_structure_id = building.meshUUID; |
|
|
|
generatedMesh.parent_structure_id = building.meshUUID; |
|
|
|
generatedMesh.parentUUID = building.getObjectUUID(); |
|
|
|
generatedMesh.parentUUID = building.getObjectUUID(); |
|
|
|
generatedMesh.AdoptTriangles(building.getBounds().getQuaternion().angleY); |
|
|
|
generatedMesh.AdoptTriangles(building.getBounds().getQuaternion().angleY); |
|
|
|
generatedMesh.MakeBounds(); |
|
|
|
//generatedMesh.MakeBounds();
|
|
|
|
building.buildingMeshes.add(generatedMesh); |
|
|
|
building.buildingMeshes.add(generatedMesh); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|