repo: janusweb
action: commit
revision: 
path_from: 
revision_from: 953ea2d24b502300d5f3911a97c1b313d1132c01:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit 953ea2d24b502300d5f3911a97c1b313d1132c01
Author: James Baicoianu 
Date:   Fri Jun 12 15:03:02 2020 -0700

    Fixed zdir handling code

diff --git a/scripts/janusbase.js b/scripts/janusbase.js
index 07833f1f978f10494917dad5bd8e67d0a16466d4..
index ..9d968a9d4e6ceb2b86da9cdfccb0d54c73758cf5 100644
--- a/scripts/janusbase.js
+++ b/scripts/janusbase.js
@@ -633,7 +633,7 @@ elation.require(['engine.things.generic', 'utils.template', 'janusweb.parts'], f
         // Copy back the orthonormalized values
         this.properties.xdir.copy(xdir);
         this.properties.ydir.copy(ydir);
-        this.properties.zdir.copy(zdir);
+        this.properties.zdir.copy(fwd);
       }
     })();
     this.updateOrientationFromEuler = (function() {

-----END OF PAGE-----