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.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/EstateManager.cs b/OpenSim/Region/Environment/EstateManager.cs
index 9700e6c..edc86e5 100644
--- a/OpenSim/Region/Environment/EstateManager.cs
+++ b/OpenSim/Region/Environment/EstateManager.cs
@@ -216,12 +216,28 @@ namespace OpenSim.Region.Environment
216 SendEstateBlueBoxMessage(remote_client, packet); 216 SendEstateBlueBoxMessage(remote_client, packet);
217 } 217 }
218 break; 218 break;
219 case "setregiondebug":
220 if (m_scene.PermissionsMngr.GenericEstatePermission(remote_client.AgentId))
221 {
222 SetRegionDebug(remote_client, packet);
223 }
224 break;
219 default: 225 default:
220 MainLog.Instance.Error("EstateOwnerMessage: Unknown method requested\n" + packet.ToString()); 226 MainLog.Instance.Error("EstateOwnerMessage: Unknown method requested\n" + packet.ToString());
221 break; 227 break;
222 } 228 }
223 } 229 }
224 230
231 private void SetRegionDebug(IClientAPI remote_client, EstateOwnerMessagePacket packet)
232 {
233 LLUUID invoice = packet.MethodData.Invoice;
234 LLUUID SenderID = packet.AgentData.AgentID;
235 bool scripted = convertParamStringToBool(packet.ParamList[0].Parameter);
236 bool collisionEvents = convertParamStringToBool(packet.ParamList[1].Parameter);
237 bool physics = convertParamStringToBool(packet.ParamList[2].Parameter);
238 m_scene.SetSceneCoreDebug(scripted, collisionEvents, physics);
239 }
240
225 private void SendSimulatorBlueBoxMessage(IClientAPI remote_client, EstateOwnerMessagePacket packet) 241 private void SendSimulatorBlueBoxMessage(IClientAPI remote_client, EstateOwnerMessagePacket packet)
226 { 242 {
227 LLUUID invoice = packet.MethodData.Invoice; 243 LLUUID invoice = packet.MethodData.Invoice;