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

0.7.1-dev
Dan Lake 2011-04-29 15:49:10 -07:00 committed by Justin Clark-Casey (justincc)
parent 5ee07e01c5
commit a4aa2e274b
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