aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
index 3bd83aa..77d936d 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs
@@ -863,5 +863,28 @@ namespace OpenSim.Region.Environment.Scenes
863 m_rootPart.Text = text; 863 m_rootPart.Text = text;
864 m_rootPart.ScheduleTerseUpdate(); 864 m_rootPart.ScheduleTerseUpdate();
865 } 865 }
866
867 public void ObjectGrabHandler(uint localId, LLVector3 offsetPos, IClientAPI remoteClient)
868 {
869 if( m_rootPart.LocalID == localId )
870 {
871 OnGrabGroup(offsetPos, remoteClient);
872 }
873 else
874 {
875 SceneObjectPart part = GetChildPrim(localId);
876 OnGrabPart(part, offsetPos, remoteClient);
877 }
878 }
879
880 public virtual void OnGrabPart(SceneObjectPart part, LLVector3 offsetPos, IClientAPI remoteClient)
881 {
882 part.OnGrab(offsetPos, remoteClient);
883 }
884
885 public virtual void OnGrabGroup(LLVector3 offsetPos, IClientAPI remoteClient)
886 {
887
888 }
866 } 889 }
867} 890}