Fix crash when [Mesh] section is missing from configuration files
parent
5ee07e01c5
commit
a4aa2e274b
|
@ -88,7 +88,8 @@ namespace OpenSim.Region.Physics.Meshing
|
|||
|
||||
decodedSculptMapPath = start_config.GetString("DecodedSculptMapPath","j2kDecodeCache");
|
||||
cacheSculptMaps = start_config.GetBoolean("CacheSculptMaps", cacheSculptMaps);
|
||||
useMeshiesPhysicsMesh = mesh_config.GetBoolean("UseMeshiesPhysicsMesh", useMeshiesPhysicsMesh);
|
||||
if(mesh_config != null)
|
||||
useMeshiesPhysicsMesh = mesh_config.GetBoolean("UseMeshiesPhysicsMesh", useMeshiesPhysicsMesh);
|
||||
|
||||
try
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue