aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index fa3c5eb..bdab696 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -636,13 +636,13 @@ namespace OpenSim.Region.Framework.Scenes
636 protected internal bool AttachObject( 636 protected internal bool AttachObject(
637 IClientAPI remoteClient, uint objectLocalID, uint AttachmentPt, Quaternion rot, Vector3 attachPos, bool silent) 637 IClientAPI remoteClient, uint objectLocalID, uint AttachmentPt, Quaternion rot, Vector3 attachPos, bool silent)
638 { 638 {
639 Console.WriteLine("HERE A"); 639// Console.WriteLine("HERE A");
640 SceneObjectGroup group = GetGroupByPrim(objectLocalID); 640 SceneObjectGroup group = GetGroupByPrim(objectLocalID);
641 if (group != null) 641 if (group != null)
642 { 642 {
643 if (m_parentScene.Permissions.CanTakeObject(group.UUID, remoteClient.AgentId)) 643 if (m_parentScene.Permissions.CanTakeObject(group.UUID, remoteClient.AgentId))
644 { 644 {
645 Console.WriteLine("HERE -1"); 645// Console.WriteLine("HERE -1");
646 // If the attachment point isn't the same as the one previously used 646 // If the attachment point isn't the same as the one previously used
647 // set it's offset position = 0 so that it appears on the attachment point 647 // set it's offset position = 0 so that it appears on the attachment point
648 // and not in a weird location somewhere unknown. 648 // and not in a weird location somewhere unknown.
@@ -681,12 +681,12 @@ namespace OpenSim.Region.Framework.Scenes
681 itemId = group.GetFromItemID(); 681 itemId = group.GetFromItemID();
682 } 682 }
683 683
684 Console.WriteLine("HERE 0"); 684// Console.WriteLine("HERE 0");
685 m_parentScene.AttachObject(remoteClient, AttachmentPt, itemId, group); 685 m_parentScene.AttachObject(remoteClient, AttachmentPt, itemId, group);
686 686
687 Console.WriteLine("HERE 1"); 687// Console.WriteLine("HERE 1");
688 group.AttachToAgent(remoteClient.AgentId, AttachmentPt, attachPos, silent); 688 group.AttachToAgent(remoteClient.AgentId, AttachmentPt, attachPos, silent);
689 Console.WriteLine("HERE 2"); 689// Console.WriteLine("HERE 2");
690 // In case it is later dropped again, don't let 690 // In case it is later dropped again, don't let
691 // it get cleaned up 691 // it get cleaned up
692 // 692 //