aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--js/helper-classes/RDGE/GLWorld.js3
-rw-r--r--js/helper-classes/RDGE/Materials/PlasmaMaterial.js2
2 files changed, 4 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/GLWorld.js b/js/helper-classes/RDGE/GLWorld.js
index 0dc34034..819f89db 100644
--- a/js/helper-classes/RDGE/GLWorld.js
+++ b/js/helper-classes/RDGE/GLWorld.js
@@ -240,7 +240,7 @@ function GLWorld( canvas, use3D )
240 if (renderer != aRenderer) console.log( "***** DIFFERENT RENDERERS *****" ); 240 if (renderer != aRenderer) console.log( "***** DIFFERENT RENDERERS *****" );
241 renderer.disableCulling(); 241 renderer.disableCulling();
242 this.myScene.render(); 242 this.myScene.render();
243 console.log( "render" ); 243 //console.log( "render" );
244 244
245 if (this._firstRender) 245 if (this._firstRender)
246 { 246 {
@@ -510,6 +510,7 @@ GLWorld.prototype.restartRenderLoop = function()
510 console.log( "restartRenderLoop" ); 510 console.log( "restartRenderLoop" );
511 511
512 this._firstRender = true; 512 this._firstRender = true;
513 this._renderCount = -1;
513 if (this._canvas.task) 514 if (this._canvas.task)
514 { 515 {
515 if (this._allMapsLoaded) 516 if (this._allMapsLoaded)
diff --git a/js/helper-classes/RDGE/Materials/PlasmaMaterial.js b/js/helper-classes/RDGE/Materials/PlasmaMaterial.js
index f900b35a..a65f3a33 100644
--- a/js/helper-classes/RDGE/Materials/PlasmaMaterial.js
+++ b/js/helper-classes/RDGE/Materials/PlasmaMaterial.js
@@ -32,6 +32,8 @@ function PlasmaMaterial()
32 /////////////////////////////////////////////////////////////////////// 32 ///////////////////////////////////////////////////////////////////////
33 this.getShaderName = function() { return this._shaderName; } 33 this.getShaderName = function() { return this._shaderName; }
34 34
35 this.isAnimated = function() { return true; }
36
35 /////////////////////////////////////////////////////////////////////// 37 ///////////////////////////////////////////////////////////////////////
36 // Material Property Accessors 38 // Material Property Accessors
37 /////////////////////////////////////////////////////////////////////// 39 ///////////////////////////////////////////////////////////////////////