aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/EstateManager.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/EstateManager.cs')
-rw-r--r--OpenSim/Region/Environment/EstateManager.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/EstateManager.cs b/OpenSim/Region/Environment/EstateManager.cs
index 860bd93..96baf21 100644
--- a/OpenSim/Region/Environment/EstateManager.cs
+++ b/OpenSim/Region/Environment/EstateManager.cs
@@ -237,6 +237,26 @@ namespace OpenSim.Region.Environment
237 bool scripted = convertParamStringToBool(packet.ParamList[0].Parameter); 237 bool scripted = convertParamStringToBool(packet.ParamList[0].Parameter);
238 bool collisionEvents = convertParamStringToBool(packet.ParamList[1].Parameter); 238 bool collisionEvents = convertParamStringToBool(packet.ParamList[1].Parameter);
239 bool physics = convertParamStringToBool(packet.ParamList[2].Parameter); 239 bool physics = convertParamStringToBool(packet.ParamList[2].Parameter);
240
241 if (physics)
242 {
243 m_scene.RegionInfo.EstateSettings.regionFlags |= Simulator.RegionFlags.SkipPhysics;
244 }
245 else
246 {
247 m_scene.RegionInfo.EstateSettings.regionFlags &= ~Simulator.RegionFlags.SkipPhysics;
248 }
249
250 if (scripted)
251 {
252 m_scene.RegionInfo.EstateSettings.regionFlags |= Simulator.RegionFlags.SkipScripts;
253 }
254 else
255 {
256 m_scene.RegionInfo.EstateSettings.regionFlags &= ~Simulator.RegionFlags.SkipScripts;
257 }
258
259
240 m_scene.SetSceneCoreDebug(scripted, collisionEvents, physics); 260 m_scene.SetSceneCoreDebug(scripted, collisionEvents, physics);
241 } 261 }
242 262