From 03076b0d33558c85b3157f0f3702ea5a0f65af8b Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Sat, 7 Mar 2009 02:39:27 +0000 Subject: Update svn properties, minor formatting cleanup. --- .../Shared/Api/Implementation/LSL_Api.cs | 28 +++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 62b52f2..0908cd6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs @@ -6440,20 +6440,20 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api { // special case: If we are root, rotate complete SOG to new rotation SetRot(part, Rot2Quaternion(q)); - } - else - { - // we are a child. The rotation values will be set to the one of root modified by rot, as in SL. Don't ask. - SceneObjectGroup group = part.ParentGroup; - if (group != null) // a bit paranoid, maybe - { - SceneObjectPart rootPart = group.RootPart; - if (rootPart != null) // again, better safe than sorry - { - SetRot(part, rootPart.RotationOffset * Rot2Quaternion(q)); - } - } - } + } + else + { + // we are a child. The rotation values will be set to the one of root modified by rot, as in SL. Don't ask. + SceneObjectGroup group = part.ParentGroup; + if (group != null) // a bit paranoid, maybe + { + SceneObjectPart rootPart = group.RootPart; + if (rootPart != null) // again, better safe than sorry + { + SetRot(part, rootPart.RotationOffset * Rot2Quaternion(q)); + } + } + } break; -- cgit v1.1