@ -896,18 +896,18 @@ public class dbBuildingHandler extends dbHandlerBase {
@@ -896,18 +896,18 @@ public class dbBuildingHandler extends dbHandlerBase {
triPoints . add ( new Vector3f ( floatPoints . get ( i ) , floatPoints . get ( i + 1 ) , floatPoints . get ( i + 2 ) ) ) ;
}
if ( BuildingManager . mesh_triangle_points . containsKey ( rs . getInt ( "meshID " ) ) = = false ) {
if ( BuildingManager . mesh_triangle_points . containsKey ( rs . getInt ( "propId " ) ) = = false ) {
ArrayList < ArrayList < Vector3f > > newPoints = new ArrayList < > ( ) ;
newPoints . add ( triPoints ) ;
BuildingManager . mesh_triangle_points . put ( rs . getInt ( "meshID " ) , newPoints ) ;
BuildingManager . mesh_triangle_points . put ( rs . getInt ( "propId " ) , newPoints ) ;
}
else
{
BuildingManager . mesh_triangle_points . get ( rs . getInt ( "meshID " ) ) . add ( triPoints ) ;
BuildingManager . mesh_triangle_points . get ( rs . getInt ( "propId " ) ) . add ( triPoints ) ;
}
if ( BuildingManager . mesh_heights . containsKey ( rs . getInt ( "meshID " ) ) = = false ) {
if ( BuildingManager . mesh_heights . containsKey ( rs . getInt ( "propId " ) ) = = false ) {
Vector2f heights = new Vector2f ( rs . getFloat ( "maxY" ) , rs . getFloat ( "minY" ) ) ;
BuildingManager . mesh_heights . put ( rs . getInt ( "meshID " ) , heights ) ;
BuildingManager . mesh_heights . put ( rs . getInt ( "propId " ) , heights ) ;
}
}