Revert setting the parent local is explicitly, as that caused even more

failures
0.6.1-post-fixes
Melanie Thielker 2008-11-28 04:50:50 +00:00
parent 0afbb6cb3e
commit dd3f87ceb5
1 changed files with 0 additions and 3 deletions

View File

@ -2200,9 +2200,6 @@ namespace OpenSim.Region.Environment.Scenes
// LastOwnerID is used for group deeding, so when you do stuff // LastOwnerID is used for group deeding, so when you do stuff
// with the deeded object, it goes back to them // with the deeded object, it goes back to them
foreach (SceneObjectPart prim in grp.Children.Values)
prim.ParentID = sp.LocalId;
grp.SetFromAssetID(grp.RootPart.LastOwnerID); grp.SetFromAssetID(grp.RootPart.LastOwnerID);
m_log.DebugFormat("[ATTACHMENT]: Attach to avatar {0}", sp.UUID.ToString()); m_log.DebugFormat("[ATTACHMENT]: Attach to avatar {0}", sp.UUID.ToString());
AttachObject(sp.ControllingClient, grp.LocalId, (uint)0, grp.GroupRotation, grp.AbsolutePosition, false); AttachObject(sp.ControllingClient, grp.LocalId, (uint)0, grp.GroupRotation, grp.AbsolutePosition, false);