repo: janusweb action: commit revision: path_from: revision_from: d9b90ed7f7b83c54994da96e59ee468a7d479267: path_to: revision_to:
commit d9b90ed7f7b83c54994da96e59ee468a7d479267 Author: James BaicoianuDate: Sat Apr 7 02:33:58 2018 -0700 Call createChilren on super class diff --git a/scripts/januslight.js b/scripts/januslight.js
--- a/scripts/januslight.js
+++ b/scripts/januslight.js
@@ -23,6 +23,8 @@ elation.require(['janusweb.janusbase'], function() {
this.updateLight();
}
this.createChildren = function() {
+ elation.engine.things.januslight.extendclass.createChildren.call(this);
+
this.createLight();
this.updateLight();
this.created = true;
diff --git a/scripts/portal.js b/scripts/portal.js
--- a/scripts/portal.js
+++ b/scripts/portal.js
@@ -89,6 +89,7 @@ elation.require(['janusweb.janusbase'], function() {
return group;
}
this.createChildren = function() {
+ elation.engine.things.janusportal.extendclass.createChildren.call(this);
/*
if (this.auto_load) {
this.openPortal();
diff --git a/scripts/remoteplayer.js b/scripts/remoteplayer.js
--- a/scripts/remoteplayer.js
+++ b/scripts/remoteplayer.js
@@ -22,6 +22,7 @@ elation.component.add('engine.things.remoteplayer', function() {
*/
this.createChildren = function() {
+ elation.engine.things.remoteplayer.extendclass.createChildren.call(this);
this.torso = this.spawn('janusbase', this.properties.player_name + '_torso', {
'position': [0,1,0],
'parent': this,
diff --git a/scripts/sound.js b/scripts/sound.js
--- a/scripts/sound.js
+++ b/scripts/sound.js
@@ -24,6 +24,7 @@ elation.require(['janusweb.janusbase'], function() {
return new THREE.Object3D();
}
this.createChildren = function() {
+ elation.engine.things.janussound.extendclass.createChildren.call(this);
if (!this.audio) {
this.createAudio();
}
-----END OF PAGE-----