Correct detected rotation to return the same value as llGetRot in the object being detected.

Fixes Mantis #3467
0.6.5-rc1
idb 2009-04-17 19:39:37 +00:00
parent bd1b478f2c
commit d9896ff71a
1 changed files with 1 additions and 1 deletions

View File

@ -222,7 +222,7 @@ namespace OpenSim.Region.ScriptEngine.Shared
part.AbsolutePosition.Y,
part.AbsolutePosition.Z);
Quaternion wr = part.GetWorldRotation();
Quaternion wr = part.ParentGroup.GroupRotation;
Rotation = new LSL_Types.Quaternion(wr.X, wr.Y, wr.Z, wr.W);
Velocity = new LSL_Types.Vector3(part.Velocity.X,