repo: janusweb
action: commit
revision: 
path_from: 
revision_from: ed418a032d8c4793e89dcf7946794199f89b40c4:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit ed418a032d8c4793e89dcf7946794199f89b40c4
Author: James Baicoianu 
Date:   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
index 3fbec7366686c4d5a74dd54cbb534ae9097f872c..
index ..44b430f0198b4af64320235b4e1de5fd04d54649 100644
--- 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-----