diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index d0db15f..e56a36f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -3600,9 +3600,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3600 | 3600 | ||
3601 | if (attachmentsModule != null && sp != null) | 3601 | if (attachmentsModule != null && sp != null) |
3602 | { | 3602 | { |
3603 | Vector3 omvPos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z); | 3603 | attachmentsModule.DetachSingleAttachmentToGround(sp, m_host.ParentGroup.LocalId, pos, rot); |
3604 | Quaternion omvRot = LSL_Api.Rot2Quaternion(rot); | ||
3605 | attachmentsModule.DetachSingleAttachmentToGround(sp, m_host.ParentGroup.LocalId, omvPos, omvRot); | ||
3606 | } | 3604 | } |
3607 | } | 3605 | } |
3608 | 3606 | ||