aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs8
1 files changed, 6 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
index dd4f974..b01dadd 100644
--- a/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/LSL_Types.cs
@@ -533,8 +533,12 @@ namespace OpenSim.Region.ScriptEngine.Shared
533 533
534 public static Quaternion operator /(Quaternion a, Quaternion b) 534 public static Quaternion operator /(Quaternion a, Quaternion b)
535 { 535 {
536 // assuming normalized 536 // assume normalized
537 b.s = -b.s; 537 // if not, sl seems to not normalize either
538 b.x = -b.x;
539 b.y = -b.y;
540 b.z = -b.z;
541
538 return a * b; 542 return a * b;
539 } 543 }
540 544