refactor: use LSL_Rotation(Quaternion) constructor in lLGetRootRotation()
parent
dd6f1fc637
commit
a6f8638174
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue