refactor: use LSL_Rotation(Quaternion) constructor in lLGetRootRotation()

0.7.4-extended
Justin Clark-Casey (justincc) 2013-03-14 22:34:48 +00:00
parent 213f0e3a12
commit 3b13dd56cd
1 changed files with 2 additions and 1 deletions

View File

@ -7786,7 +7786,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
} }
else else
q = m_host.ParentGroup.GroupRotation; // just the group rotation q = m_host.ParentGroup.GroupRotation; // just the group rotation
return new LSL_Rotation(q.X, q.Y, q.Z, q.W);
return new LSL_Rotation(q);
} }
public LSL_String llGetObjectDesc() public LSL_String llGetObjectDesc()