aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/Materials/FlyMaterial.js
diff options
context:
space:
mode:
authorhwc4872012-03-02 09:36:31 -0800
committerhwc4872012-03-02 09:36:31 -0800
commitd044b6d9755d8ca686501fc3dd5644180e2ffbf0 (patch)
tree0ff6ca04987639417c0188ca8af2580b62d65f9f /js/helper-classes/RDGE/Materials/FlyMaterial.js
parentcf32843b1d64c631e6e7c808cc4f13ac316e1baf (diff)
downloadninja-d044b6d9755d8ca686501fc3dd5644180e2ffbf0.tar.gz
WebGL File IO
Diffstat (limited to 'js/helper-classes/RDGE/Materials/FlyMaterial.js')
-rw-r--r--js/helper-classes/RDGE/Materials/FlyMaterial.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/Materials/FlyMaterial.js b/js/helper-classes/RDGE/Materials/FlyMaterial.js
index 4a44e2e5..a70b53e8 100644
--- a/js/helper-classes/RDGE/Materials/FlyMaterial.js
+++ b/js/helper-classes/RDGE/Materials/FlyMaterial.js
@@ -71,7 +71,7 @@ function FlyMaterial()
71 this._shader.init(); 71 this._shader.init();
72 72
73 // set up the material node 73 // set up the material node
74 this._materialNode = createMaterialNode("flyMaterial"); 74 this._materialNode = createMaterialNode("flyMaterial_" + world.generateUniqueNodeID());
75 this._materialNode.setShader(this._shader); 75 this._materialNode.setShader(this._shader);
76 76
77 this._time = 0; 77 this._time = 0;