Fix crash when [Mesh] section is missing from configuration files

bulletsim
Dan Lake 2011-04-29 15:49:10 -07:00
parent 5e99d93651
commit d565041e16
1 changed files with 2 additions and 1 deletions

View File

@ -88,6 +88,7 @@ namespace OpenSim.Region.Physics.Meshing
decodedSculptMapPath = start_config.GetString("DecodedSculptMapPath","j2kDecodeCache");
cacheSculptMaps = start_config.GetBoolean("CacheSculptMaps", cacheSculptMaps);
if(mesh_config != null)
useMeshiesPhysicsMesh = mesh_config.GetBoolean("UseMeshiesPhysicsMesh", useMeshiesPhysicsMesh);
try