diff options
Diffstat (limited to 'js/helper-classes/RDGE/GLWorld.js')
-rwxr-xr-x | js/helper-classes/RDGE/GLWorld.js | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/js/helper-classes/RDGE/GLWorld.js b/js/helper-classes/RDGE/GLWorld.js index 3a779b92..ce5f0516 100755 --- a/js/helper-classes/RDGE/GLWorld.js +++ b/js/helper-classes/RDGE/GLWorld.js | |||
@@ -379,10 +379,12 @@ function GLWorld( canvas, use3D ) | |||
379 | return false; | 379 | return false; |
380 | } | 380 | } |
381 | 381 | ||
382 | 382 | this.generateUniqueNodeID = function() | |
383 | // END RDGE | 383 | { |
384 | //////////////////////////////////////////////////////////////////////////////////// | 384 | var str = String( this._nodeCounter ); |
385 | 385 | this._nodeCounter++; | |
386 | return str; | ||
387 | } | ||
386 | 388 | ||
387 | // start RDGE passing your runtime object, and false to indicate we don't need a an initialization state | 389 | // start RDGE passing your runtime object, and false to indicate we don't need a an initialization state |
388 | // in the case of a procedurally built scene an init state is not needed for loading data | 390 | // in the case of a procedurally built scene an init state is not needed for loading data |
@@ -395,13 +397,6 @@ function GLWorld( canvas, use3D ) | |||
395 | RDGEStart( this._canvas ); | 397 | RDGEStart( this._canvas ); |
396 | this._canvas.task.stop() | 398 | this._canvas.task.stop() |
397 | } | 399 | } |
398 | |||
399 | this.generateUniqueNodeID = function() | ||
400 | { | ||
401 | var str = String( this._nodeCounter ); | ||
402 | this._nodeCounter++; | ||
403 | return str; | ||
404 | } | ||
405 | } | 400 | } |
406 | 401 | ||
407 | 402 | ||