aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index d88e416..854169b 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -2181,10 +2181,11 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
2181 } 2181 }
2182 else 2182 else
2183 q = part.ParentGroup.GroupRotation; // just the group rotation 2183 q = part.ParentGroup.GroupRotation; // just the group rotation
2184 return new LSL_Rotation(q.X, q.Y, q.Z, q.W); 2184
2185 return new LSL_Rotation(q);
2185 } 2186 }
2186 q = part.GetWorldRotation(); 2187
2187 return new LSL_Rotation(q.X, q.Y, q.Z, q.W); 2188 return new LSL_Rotation(part.GetWorldRotation());
2188 } 2189 }
2189 2190
2190 public LSL_Rotation llGetLocalRot() 2191 public LSL_Rotation llGetLocalRot()