diff options
Diffstat (limited to 'OpenSim/Region/Examples')
-rw-r--r-- | OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs index 1f62c88..e4b033d 100644 --- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs +++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs | |||
@@ -41,27 +41,6 @@ namespace SimpleApp | |||
41 | this.CreateTerrainTexture(); | 41 | this.CreateTerrainTexture(); |
42 | } | 42 | } |
43 | 43 | ||
44 | public override void ProcessObjectGrab(uint localID, LLVector3 offsetPos, IClientAPI remoteClient) | ||
45 | { | ||
46 | foreach (EntityBase ent in Entities.Values) | ||
47 | { | ||
48 | if (ent is SceneObjectGroup) | ||
49 | { | ||
50 | SceneObjectGroup obj = ent as SceneObjectGroup; | ||
51 | |||
52 | if( obj.HasChildPrim( localID ) ) | ||
53 | { | ||
54 | obj.ObjectGrabHandler(localID, offsetPos, remoteClient); | ||
55 | return; | ||
56 | } | ||
57 | } | ||
58 | } | ||
59 | |||
60 | base.ProcessObjectGrab(localID, offsetPos, remoteClient); | ||
61 | } | ||
62 | |||
63 | #region IWorld Members | ||
64 | |||
65 | override public void AddNewClient(IClientAPI client, bool child) | 44 | override public void AddNewClient(IClientAPI client, bool child) |
66 | { | 45 | { |
67 | SubscribeToClientEvents(client); | 46 | SubscribeToClientEvents(client); |
@@ -79,7 +58,5 @@ namespace SimpleApp | |||
79 | 58 | ||
80 | client.SendRegionHandshake(m_regInfo); | 59 | client.SendRegionHandshake(m_regInfo); |
81 | } | 60 | } |
82 | |||
83 | #endregion | ||
84 | } | 61 | } |
85 | } | 62 | } |