repo: janusweb action: commit revision: path_from: revision_from: ed418a032d8c4793e89dcf7946794199f89b40c4: path_to: revision_to:
commit ed418a032d8c4793e89dcf7946794199f89b40c4 Author: James BaicoianuDate: Tue Jul 28 23:55:32 2020 -0700 Don't convert to degrees manually diff --git a/media/assets/webui/apps/editor/editor-properties.js b/media/assets/webui/apps/editor/editor-properties.js
--- a/media/assets/webui/apps/editor/editor-properties.js
+++ b/media/assets/webui/apps/editor/editor-properties.js
@@ -293,9 +293,9 @@ elation.elements.define('janus-ui-editor-property-euler', class extends elation.
updateValue(value) {
this.value = value;
if (this.elements) {
- this.elements.x.value = this.value.x * THREE.Math.RAD2DEG;
- this.elements.y.value = this.value.y * THREE.Math.RAD2DEG;
- this.elements.z.value = this.value.z * THREE.Math.RAD2DEG;
+ this.elements.x.value = this.value.x;
+ this.elements.y.value = this.value.y;
+ this.elements.z.value = this.value.z;
}
}
});
-----END OF PAGE-----