aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneGraph.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-02-03 15:35:41 +0000
committerJustin Clark-Casey (justincc)2010-02-03 15:35:41 +0000
commitb6bee4999c9d238a052022f105069ea4eb85f8f4 (patch)
tree1d8138a97697f4de19a3390d2ee83b9bea744b44 /OpenSim/Region/Framework/Scenes/SceneGraph.cs
parentrefactor: move world comm message queueing into its own method (diff)
downloadopensim-SC_OLD-b6bee4999c9d238a052022f105069ea4eb85f8f4.zip
opensim-SC_OLD-b6bee4999c9d238a052022f105069ea4eb85f8f4.tar.gz
opensim-SC_OLD-b6bee4999c9d238a052022f105069ea4eb85f8f4.tar.bz2
opensim-SC_OLD-b6bee4999c9d238a052022f105069ea4eb85f8f4.tar.xz
change position of OnAttach event firing so that this also happens when a user teleports into a region
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
index 1ac061a..b508af5 100644
--- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs
@@ -627,11 +627,10 @@ namespace OpenSim.Region.Framework.Scenes
627 } 627 }
628 628
629 m_parentScene.AttachObject(remoteClient, AttachmentPt, itemId, group); 629 m_parentScene.AttachObject(remoteClient, AttachmentPt, itemId, group);
630
631 group.AttachToAgent(remoteClient.AgentId, AttachmentPt, attachPos, silent); 630 group.AttachToAgent(remoteClient.AgentId, AttachmentPt, attachPos, silent);
631
632 // In case it is later dropped again, don't let 632 // In case it is later dropped again, don't let
633 // it get cleaned up 633 // it get cleaned up
634 //
635 group.RootPart.RemFlag(PrimFlags.TemporaryOnRez); 634 group.RootPart.RemFlag(PrimFlags.TemporaryOnRez);
636 group.HasGroupChanged = false; 635 group.HasGroupChanged = false;
637 } 636 }