aboutsummaryrefslogtreecommitdiff
path: root/js/helper-classes/RDGE/Materials/TwistVertMaterial.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/TwistVertMaterial.js
parentcf32843b1d64c631e6e7c808cc4f13ac316e1baf (diff)
downloadninja-d044b6d9755d8ca686501fc3dd5644180e2ffbf0.tar.gz
WebGL File IO
Diffstat (limited to 'js/helper-classes/RDGE/Materials/TwistVertMaterial.js')
-rw-r--r--js/helper-classes/RDGE/Materials/TwistVertMaterial.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/Materials/TwistVertMaterial.js b/js/helper-classes/RDGE/Materials/TwistVertMaterial.js
index 853e895c..dd49555c 100644
--- a/js/helper-classes/RDGE/Materials/TwistVertMaterial.js
+++ b/js/helper-classes/RDGE/Materials/TwistVertMaterial.js
@@ -57,7 +57,7 @@ function TwistVertMaterial()
57 this._shader.twistMe.color.set( this.getColor() ); 57 this._shader.twistMe.color.set( this.getColor() );
58 58
59 // set up the material node 59 // set up the material node
60 this._materialNode = createMaterialNode("twistVertMaterial"); 60 this._materialNode = createMaterialNode("twistVertMaterial_" + world.generateUniqueNodeID());
61 this._materialNode.setShader(this._shader); 61 this._materialNode.setShader(this._shader);
62 62
63 // initialize the twist vert properties 63 // initialize the twist vert properties