diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 0393a2a..73e9d48 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -496,6 +496,16 @@ namespace OpenSim.Region.Environment.Scenes | |||
496 | 496 | ||
497 | this.m_scene.SendAllSceneObjectsToClient(this.ControllingClient); | 497 | this.m_scene.SendAllSceneObjectsToClient(this.ControllingClient); |
498 | this.ControllingClient.SendViewerTime(this.m_scene.TimePhase); | 498 | this.ControllingClient.SendViewerTime(this.m_scene.TimePhase); |
499 | |||
500 | //Please don't remove the following code (at least not yet), just leave it commented out | ||
501 | //gives the user god powers, should help with debuging things in the future | ||
502 | /* | ||
503 | GrantGodlikePowersPacket grant = new GrantGodlikePowersPacket(); | ||
504 | grant.AgentData.AgentID = this.ControllingClient.AgentId; | ||
505 | grant.AgentData.SessionID = this.ControllingClient.SessionId; | ||
506 | grant.GrantData.GodLevel = 255; | ||
507 | grant.GrantData.Token = LLUUID.Random(); | ||
508 | this.ControllingClient.OutPacket(grant);*/ | ||
499 | } | 509 | } |
500 | 510 | ||
501 | /// <summary> | 511 | /// <summary> |