diff options
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.API.cs | 6 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | 18 |
2 files changed, 12 insertions, 12 deletions
diff --git a/OpenSim/Region/ClientStack/ClientView.API.cs b/OpenSim/Region/ClientStack/ClientView.API.cs index 81c20e8..d9c7508 100644 --- a/OpenSim/Region/ClientStack/ClientView.API.cs +++ b/OpenSim/Region/ClientStack/ClientView.API.cs | |||
@@ -55,10 +55,10 @@ namespace OpenSim.Region.ClientStack | |||
55 | public event StartAnim OnStartAnim; | 55 | public event StartAnim OnStartAnim; |
56 | public event GenericCall OnRequestAvatarsData; | 56 | public event GenericCall OnRequestAvatarsData; |
57 | public event LinkObjects OnLinkObjects; | 57 | public event LinkObjects OnLinkObjects; |
58 | public event UpdateVector OnGrapObject; | 58 | public event UpdateVector OnGrabObject; |
59 | public event ObjectSelect OnDeGrapObject; | 59 | public event ObjectSelect OnDeGrabObject; |
60 | public event ObjectDuplicate OnObjectDuplicate; | 60 | public event ObjectDuplicate OnObjectDuplicate; |
61 | public event MoveObject OnGrapUpdate; | 61 | public event MoveObject OnGrabUpdate; |
62 | public event AddNewPrim OnAddPrim; | 62 | public event AddNewPrim OnAddPrim; |
63 | public event ObjectExtraParams OnUpdateExtraParams; | 63 | public event ObjectExtraParams OnUpdateExtraParams; |
64 | public event UpdateShape OnUpdatePrimShape; | 64 | public event UpdateShape OnUpdatePrimShape; |
diff --git a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs index a50a3bd..401f500 100644 --- a/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs +++ b/OpenSim/Region/ClientStack/ClientView.ProcessPackets.cs | |||
@@ -290,24 +290,24 @@ namespace OpenSim.Region.ClientStack | |||
290 | } | 290 | } |
291 | break; | 291 | break; |
292 | case PacketType.ObjectGrab: | 292 | case PacketType.ObjectGrab: |
293 | ObjectGrabPacket grap = (ObjectGrabPacket)Pack; | 293 | ObjectGrabPacket grab = (ObjectGrabPacket)Pack; |
294 | if (OnGrapObject != null) | 294 | if (OnGrabObject != null) |
295 | { | 295 | { |
296 | OnGrapObject(grap.ObjectData.LocalID, grap.ObjectData.GrabOffset, this); | 296 | OnGrabObject(grab.ObjectData.LocalID, grab.ObjectData.GrabOffset, this); |
297 | } | 297 | } |
298 | break; | 298 | break; |
299 | case PacketType.ObjectGrabUpdate: | 299 | case PacketType.ObjectGrabUpdate: |
300 | ObjectGrabUpdatePacket grapUpdate = (ObjectGrabUpdatePacket)Pack; | 300 | ObjectGrabUpdatePacket grabUpdate = (ObjectGrabUpdatePacket)Pack; |
301 | if (OnGrapUpdate != null) | 301 | if (OnGrabUpdate != null) |
302 | { | 302 | { |
303 | OnGrapUpdate(grapUpdate.ObjectData.ObjectID, grapUpdate.ObjectData.GrabOffsetInitial, grapUpdate.ObjectData.GrabPosition, this); | 303 | OnGrabUpdate(grabUpdate.ObjectData.ObjectID, grabUpdate.ObjectData.GrabOffsetInitial, grabUpdate.ObjectData.GrabPosition, this); |
304 | } | 304 | } |
305 | break; | 305 | break; |
306 | case PacketType.ObjectDeGrab: | 306 | case PacketType.ObjectDeGrab: |
307 | ObjectDeGrabPacket deGrap = (ObjectDeGrabPacket)Pack; | 307 | ObjectDeGrabPacket deGrab = (ObjectDeGrabPacket)Pack; |
308 | if (OnDeGrapObject != null) | 308 | if (OnDeGrabObject != null) |
309 | { | 309 | { |
310 | OnDeGrapObject(deGrap.ObjectData.LocalID, this); | 310 | OnDeGrabObject(deGrab.ObjectData.LocalID, this); |
311 | } | 311 | } |
312 | break; | 312 | break; |
313 | case PacketType.ObjectDescription: | 313 | case PacketType.ObjectDescription: |