diff options
author | Melanie Thielker | 2008-11-29 04:01:46 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-11-29 04:01:46 +0000 |
commit | 179d114daaf2a08e6045f0db84afc6274e676871 (patch) | |
tree | f2258f27fec8ec8eeb56dc5f90cb2cb1847e0dae /OpenSim | |
parent | Should have tried with something other than attachments. Make normal prim (diff) | |
download | opensim-SC_OLD-179d114daaf2a08e6045f0db84afc6274e676871.zip opensim-SC_OLD-179d114daaf2a08e6045f0db84afc6274e676871.tar.gz opensim-SC_OLD-179d114daaf2a08e6045f0db84afc6274e676871.tar.bz2 opensim-SC_OLD-179d114daaf2a08e6045f0db84afc6274e676871.tar.xz |
Try to prevent attachments twisting/moving
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index ce4b8e5..8b4eb72 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -3346,7 +3346,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
3346 | { | 3346 | { |
3347 | // Attach from world, if not already attached | 3347 | // Attach from world, if not already attached |
3348 | if (att.ParentGroup != null && !att.IsAttachment) | 3348 | if (att.ParentGroup != null && !att.IsAttachment) |
3349 | m_scene.AttachObject(ControllingClient, att.ParentGroup.LocalId, (uint)0, att.ParentGroup.GroupRotation, Vector3.Zero, false); | 3349 | m_scene.AttachObject(ControllingClient, att.ParentGroup.LocalId, (uint)0, Quaternion.Identity, att.ParentGroup.AbsolutePosition, false); |
3350 | } | 3350 | } |
3351 | catch (NullReferenceException) | 3351 | catch (NullReferenceException) |
3352 | { | 3352 | { |