mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
orientation stored in dataserver is in degrees
This commit is contained in:
parent
793a760272
commit
c3e8d51694
1 changed files with 1 additions and 1 deletions
|
@ -1155,7 +1155,7 @@ void MyAvatar::updateLocationInDataServer() {
|
|||
|
||||
if (accountManager.isLoggedIn()) {
|
||||
QString positionString(createByteArray(_position));
|
||||
QString orientationString(createByteArray(glm::radians(safeEulerAngles(getOrientation()))));
|
||||
QString orientationString(createByteArray(glm::degrees(safeEulerAngles(getOrientation()))));
|
||||
|
||||
// construct the json to put the user's location
|
||||
QString locationPutJson = QString() + "{\"address\":{\"position\":\""
|
||||
|
|
Loading…
Reference in a new issue