From f147d8e0f035b4377f92dd22a546da1e523bf7fd Mon Sep 17 00:00:00 2001
From: MW
Date: Fri, 10 Aug 2007 18:52:46 +0000
Subject: Few small fixes
---
OpenSim/Region/ClientStack/ClientView.API.cs | 6 +++---
.../Region/ClientStack/ClientView.ProcessPackets.cs | 18 +++++++++---------
.../Region/Environment/Scenes/Scene.PacketHandlers.cs | 2 +-
OpenSim/Region/Environment/Scenes/Scene.cs | 2 +-
OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 2 +-
OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs | 6 +++---
OpenSim/Region/Examples/SimpleApp/MyWorld.cs | 2 +-
7 files changed, 19 insertions(+), 19 deletions(-)
(limited to 'OpenSim/Region')
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
public event StartAnim OnStartAnim;
public event GenericCall OnRequestAvatarsData;
public event LinkObjects OnLinkObjects;
- public event UpdateVector OnGrapObject;
- public event ObjectSelect OnDeGrapObject;
+ public event UpdateVector OnGrabObject;
+ public event ObjectSelect OnDeGrabObject;
public event ObjectDuplicate OnObjectDuplicate;
- public event MoveObject OnGrapUpdate;
+ public event MoveObject OnGrabUpdate;
public event AddNewPrim OnAddPrim;
public event ObjectExtraParams OnUpdateExtraParams;
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
}
break;
case PacketType.ObjectGrab:
- ObjectGrabPacket grap = (ObjectGrabPacket)Pack;
- if (OnGrapObject != null)
+ ObjectGrabPacket grab = (ObjectGrabPacket)Pack;
+ if (OnGrabObject != null)
{
- OnGrapObject(grap.ObjectData.LocalID, grap.ObjectData.GrabOffset, this);
+ OnGrabObject(grab.ObjectData.LocalID, grab.ObjectData.GrabOffset, this);
}
break;
case PacketType.ObjectGrabUpdate:
- ObjectGrabUpdatePacket grapUpdate = (ObjectGrabUpdatePacket)Pack;
- if (OnGrapUpdate != null)
+ ObjectGrabUpdatePacket grabUpdate = (ObjectGrabUpdatePacket)Pack;
+ if (OnGrabUpdate != null)
{
- OnGrapUpdate(grapUpdate.ObjectData.ObjectID, grapUpdate.ObjectData.GrabOffsetInitial, grapUpdate.ObjectData.GrabPosition, this);
+ OnGrabUpdate(grabUpdate.ObjectData.ObjectID, grabUpdate.ObjectData.GrabOffsetInitial, grabUpdate.ObjectData.GrabPosition, this);
}
break;
case PacketType.ObjectDeGrab:
- ObjectDeGrabPacket deGrap = (ObjectDeGrabPacket)Pack;
- if (OnDeGrapObject != null)
+ ObjectDeGrabPacket deGrab = (ObjectDeGrabPacket)Pack;
+ if (OnDeGrabObject != null)
{
- OnDeGrapObject(deGrap.ObjectData.LocalID, this);
+ OnDeGrabObject(deGrab.ObjectData.LocalID, this);
}
break;
case PacketType.ObjectDescription:
diff --git a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
index 4300ce4..4ea5f20 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.PacketHandlers.cs
@@ -509,7 +509,7 @@ namespace OpenSim.Region.Environment.Scenes
hasPrim = ((SceneObjectGroup)ent).HasChildPrim(objectID);
if (hasPrim != false)
{
- ((SceneObjectGroup)ent).GrapMovement(offset, pos, remoteClient);
+ ((SceneObjectGroup)ent).GrabMovement(offset, pos, remoteClient);
break;
}
}
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index d3c7f77..e7f5f56 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -588,7 +588,7 @@ namespace OpenSim.Region.Environment.Scenes
client.OnTeleportLocationRequest += RequestTeleportLocation;
client.OnObjectSelect += SelectPrim;
client.OnObjectDeselect += DeselectPrim;
- client.OnGrapUpdate += MoveObject;
+ client.OnGrabUpdate += MoveObject;
client.OnDeRezObject += DeRezObject;
client.OnNameFromUUIDRequest += commsManager.HandleUUIDNameRequest;
client.OnObjectDescription += PrimDescription;
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 8b761f6..39b7fb0 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -365,7 +365,7 @@ namespace OpenSim.Region.Environment.Scenes
///
///
///
- public void GrapMovement(LLVector3 offset, LLVector3 pos, IClientAPI remoteClient)
+ public void GrabMovement(LLVector3 offset, LLVector3 pos, IClientAPI remoteClient)
{
this.Pos = pos;
this.m_rootPart.SendTerseUpdateToAllClients();
diff --git a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
index 3e9b669..af3d77b 100644
--- a/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
+++ b/OpenSim/Region/Examples/SimpleApp/MyNpcCharacter.cs
@@ -44,9 +44,9 @@ namespace SimpleApp
public event GenericCall OnRequestAvatarsData;
public event AddNewPrim OnAddPrim;
public event ObjectDuplicate OnObjectDuplicate;
- public event UpdateVector OnGrapObject;
- public event ObjectSelect OnDeGrapObject;
- public event MoveObject OnGrapUpdate;
+ public event UpdateVector OnGrabObject;
+ public event ObjectSelect OnDeGrabObject;
+ public event MoveObject OnGrabUpdate;
public event UpdateShape OnUpdatePrimShape;
diff --git a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
index 1a69e74..92dd61b 100644
--- a/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
+++ b/OpenSim/Region/Examples/SimpleApp/MyWorld.cs
@@ -61,7 +61,7 @@ namespace SimpleApp
client.OnUpdatePrimGroupPosition += this.UpdatePrimPosition;
client.OnRequestMapBlocks += this.RequestMapBlocks;
client.OnTeleportLocationRequest += this.RequestTeleportLocation;
- client.OnGrapUpdate += this.MoveObject;
+ client.OnGrabUpdate += this.MoveObject;
client.OnNameFromUUIDRequest += this.commsManager.HandleUUIDNameRequest;
client.OnCompleteMovementToRegion += delegate()
--
cgit v1.1