diff options
author | SignpostMarv | 2012-08-20 10:19:39 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-02 22:14:46 +0100 |
commit | f555febdb7c6bbd9ef8b98f897e6c296a62b23fe (patch) | |
tree | be891eb14bbab8782274c853c1ffd370f16d733d /OpenSim/Region/ScriptEngine | |
parent | added perms checking, duplicated functionality to methods that do not require... (diff) | |
download | opensim-SC-f555febdb7c6bbd9ef8b98f897e6c296a62b23fe.zip opensim-SC-f555febdb7c6bbd9ef8b98f897e6c296a62b23fe.tar.gz opensim-SC-f555febdb7c6bbd9ef8b98f897e6c296a62b23fe.tar.bz2 opensim-SC-f555febdb7c6bbd9ef8b98f897e6c296a62b23fe.tar.xz |
taking into account the recent introduction of implicit operators
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 | ||