aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-02-07 14:18:13 -0800
committerNivesh Rajbhandari2012-02-07 14:18:13 -0800
commitaec849d91e4b697d496b9ede28b5d89cf2283781 (patch)
tree1ae9f4211f013bef98284ab68b97e333aca46c63
parente8e21367e59bb521801fe2e843f42ad5bca5ea9f (diff)
downloadninja-aec849d91e4b697d496b9ede28b5d89cf2283781.tar.gz
id's must start with a letter, so our workaround for using uuid for RDGE canvas id's won't work because they often start with a number.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
-rw-r--r--js/helper-classes/RDGE/GLWorld.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/GLWorld.js b/js/helper-classes/RDGE/GLWorld.js
index cc44da50..59f0bda0 100644
--- a/js/helper-classes/RDGE/GLWorld.js
+++ b/js/helper-classes/RDGE/GLWorld.js
@@ -240,7 +240,7 @@ function GLWorld( canvas, use3D )
240 rdgeStarted = true; 240 rdgeStarted = true;
241 241
242 // TODO - temporary fix for RDGE id's 242 // TODO - temporary fix for RDGE id's
243 this._canvas.id = this._canvas.uuid; 243 this._canvas.id = "rdge_" + this._canvas.uuid;
244 244
245 g_Engine.registerCanvas(this._canvas, this); 245 g_Engine.registerCanvas(this._canvas, this);
246 RDGEStart( this._canvas ); 246 RDGEStart( this._canvas );