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

user_profiles
Justin Clark-Casey (justincc) 2013-03-14 22:34:48 +00:00
parent dd6f1fc637
commit a6f8638174
1 changed files with 2 additions and 1 deletions

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()