diff options
author | Melanie Thielker | 2008-11-28 04:50:50 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-28 04:50:50 +0000 |
commit | dd3f87ceb5990ab78a36f047f2544fd4036216bf (patch) | |
tree | 14cd58727cad3c457c6c0cb48809c69fda018ef4 /OpenSim | |
parent | Omit parcel checks for attachments. (diff) | |
download | opensim-SC_OLD-dd3f87ceb5990ab78a36f047f2544fd4036216bf.zip opensim-SC_OLD-dd3f87ceb5990ab78a36f047f2544fd4036216bf.tar.gz opensim-SC_OLD-dd3f87ceb5990ab78a36f047f2544fd4036216bf.tar.bz2 opensim-SC_OLD-dd3f87ceb5990ab78a36f047f2544fd4036216bf.tar.xz |
Revert setting the parent local is explicitly, as that caused even more
failures
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index ec08635..d3cbe91 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -2200,9 +2200,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
2200 | // LastOwnerID is used for group deeding, so when you do stuff | 2200 | // LastOwnerID is used for group deeding, so when you do stuff |
2201 | // with the deeded object, it goes back to them | 2201 | // with the deeded object, it goes back to them |
2202 | 2202 | ||
2203 | foreach (SceneObjectPart prim in grp.Children.Values) | ||
2204 | prim.ParentID = sp.LocalId; | ||
2205 | |||
2206 | grp.SetFromAssetID(grp.RootPart.LastOwnerID); | 2203 | grp.SetFromAssetID(grp.RootPart.LastOwnerID); |
2207 | m_log.DebugFormat("[ATTACHMENT]: Attach to avatar {0}", sp.UUID.ToString()); | 2204 | m_log.DebugFormat("[ATTACHMENT]: Attach to avatar {0}", sp.UUID.ToString()); |
2208 | AttachObject(sp.ControllingClient, grp.LocalId, (uint)0, grp.GroupRotation, grp.AbsolutePosition, false); | 2205 | AttachObject(sp.ControllingClient, grp.LocalId, (uint)0, grp.GroupRotation, grp.AbsolutePosition, false); |