orientation stored in dataserver is in degrees

This commit is contained in:
Andrew Meadows 2014-03-12 12:06:59 -07:00
parent 793a760272
commit c3e8d51694

View file

@ -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\":\""