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

This commit is contained in:
Justin Clark-Casey (justincc)
2013-03-14 22:34:48 +00:00
parent dd6f1fc637
commit a6f8638174

View File

@@ -7859,7 +7859,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
}
else
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()