|
|
@ -978,6 +978,7 @@ public enum BuildingManager { |
|
|
|
|
|
|
|
|
|
|
|
public static void BakeBuildingMeshes(Building building){ |
|
|
|
public static void BakeBuildingMeshes(Building building){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
if (building == null) |
|
|
|
if (building == null) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
@ -1037,5 +1038,9 @@ public enum BuildingManager { |
|
|
|
building.buildingMeshes.add(generatedMesh); |
|
|
|
building.buildingMeshes.add(generatedMesh); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
catch(Exception e){ |
|
|
|
|
|
|
|
Logger.info("Failed TO Bake Building Mesh Data: " + e.getMessage()); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|