load mesh data and structure meshes

This commit is contained in:
2024-01-14 19:36:54 -06:00
parent 68920f150d
commit 561170eb44
+4 -2
View File
@@ -985,8 +985,10 @@ public enum BuildingManager {
building.buildingMeshes = new ArrayList<>();
float rotation = building.getRot().getRotation();
Vector3f buildingLoc = new Vector3f(building.loc.x, building.loc.y, building.loc.z);
if (!mesh_triangle_points.containsKey(building.meshUUID))
return; //no data for this prop ID
if(prop_meshes.containsKey(building.meshUUID) == false)
return;//no meshes to load for this prop
ArrayList<Integer> meshes = prop_meshes.get(building.meshUUID);
for (int mesh : meshes) {