aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorDiva Canto2011-04-29 08:42:51 -0700
committerDiva Canto2011-04-29 08:42:51 -0700
commit73caa4e94abc920269c2eba8423be49192ef184b (patch)
treecc2c8a03cc60694cd587d93e68d47bf20c11aa2c /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parentMinor improvement in version checking (Simulation service) (diff)
downloadopensim-SC-73caa4e94abc920269c2eba8423be49192ef184b.zip
opensim-SC-73caa4e94abc920269c2eba8423be49192ef184b.tar.gz
opensim-SC-73caa4e94abc920269c2eba8423be49192ef184b.tar.bz2
opensim-SC-73caa4e94abc920269c2eba8423be49192ef184b.tar.xz
Minor correction to yesterday's changes. Make normal prim crossing (no attach) work well again.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 507fc50..fe4a7d1 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -3108,6 +3108,9 @@ namespace OpenSim.Region.Framework.Scenes
3108 // We need to make a copy and pass that copy 3108 // We need to make a copy and pass that copy
3109 // because of transfers withn the same sim 3109 // because of transfers withn the same sim
3110 ISceneObject clone = sog.CloneForNewScene(); 3110 ISceneObject clone = sog.CloneForNewScene();
3111 // Attachment module assumes that GroupPosition holds the offsets...!
3112 ((SceneObjectGroup)clone).RootPart.GroupPosition = sog.RootPart.AttachedPos;
3113 ((SceneObjectGroup)clone).RootPart.IsAttachment = false;
3111 cAgent.AttachmentObjects.Add(clone); 3114 cAgent.AttachmentObjects.Add(clone);
3112 cAgent.AttachmentObjectStates.Add(sog.GetStateSnapshot()); 3115 cAgent.AttachmentObjectStates.Add(sog.GetStateSnapshot());
3113 } 3116 }