repo: janusweb
action: commit
revision: 
path_from: 
revision_from: c7100d3a7b3857ee3bd6fd95353606f7be930c92:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit c7100d3a7b3857ee3bd6fd95353606f7be930c92
Author: James Baicoianu 
Date:   Fri Apr 6 15:57:12 2018 -0700

    Fix light creation bug

diff --git a/scripts/januslight.js b/scripts/januslight.js
index 15b9aeb0baef4af2cd9fab460e178f3b43a27a0c..
index ..6d136c7c29bf33d5aeb5d93e883652db092b0eb2 100644
--- a/scripts/januslight.js
+++ b/scripts/januslight.js
@@ -25,6 +25,7 @@ elation.require(['janusweb.janusbase'], function() {
     this.createChildren = function() {
       this.createLight();
       this.updateLight();
+      this.created = true;
       // TODO - should be an easy way of toggling helpers
       /*
       var scene = this.objects['3d'];

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