Try to prevent attachments twisting/moving

0.6.1-post-fixes
Melanie Thielker 2008-11-29 04:01:46 +00:00
parent ef4a80eeaf
commit 179d114daa
1 changed files with 1 additions and 1 deletions

View File

@ -3346,7 +3346,7 @@ namespace OpenSim.Region.Environment.Scenes
{ {
// Attach from world, if not already attached // Attach from world, if not already attached
if (att.ParentGroup != null && !att.IsAttachment) if (att.ParentGroup != null && !att.IsAttachment)
m_scene.AttachObject(ControllingClient, att.ParentGroup.LocalId, (uint)0, att.ParentGroup.GroupRotation, Vector3.Zero, false); m_scene.AttachObject(ControllingClient, att.ParentGroup.LocalId, (uint)0, Quaternion.Identity, att.ParentGroup.AbsolutePosition, false);
} }
catch (NullReferenceException) catch (NullReferenceException)
{ {