taking into account the recent introduction of implicit operators

connector_plugin
SignpostMarv 2012-08-20 10:19:39 +01:00 committed by Justin Clark-Casey (justincc)
parent ce7694c108
commit f555febdb7
1 changed files with 1 additions and 3 deletions

View File

@ -3600,9 +3600,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
if (attachmentsModule != null && sp != null)
{
Vector3 omvPos = new Vector3((float)pos.x, (float)pos.y, (float)pos.z);
Quaternion omvRot = LSL_Api.Rot2Quaternion(rot);
attachmentsModule.DetachSingleAttachmentToGround(sp, m_host.ParentGroup.LocalId, omvPos, omvRot);
attachmentsModule.DetachSingleAttachmentToGround(sp, m_host.ParentGroup.LocalId, pos, rot);
}
}