diff options
Diffstat (limited to 'js/helper-classes/RDGE/Materials/RadialGradientMaterial.js')
-rwxr-xr-x | js/helper-classes/RDGE/Materials/RadialGradientMaterial.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/Materials/RadialGradientMaterial.js b/js/helper-classes/RDGE/Materials/RadialGradientMaterial.js index 12842798..4ebb1f30 100755 --- a/js/helper-classes/RDGE/Materials/RadialGradientMaterial.js +++ b/js/helper-classes/RDGE/Materials/RadialGradientMaterial.js | |||
@@ -154,7 +154,7 @@ function RadialGradientMaterial() | |||
154 | this._shader.init(); | 154 | this._shader.init(); |
155 | 155 | ||
156 | // set up the material node | 156 | // set up the material node |
157 | this._materialNode = createMaterialNode("radialGradientMaterial"); | 157 | this._materialNode = createMaterialNode("radialGradientMaterial_" + world.generateUniqueNodeID()); |
158 | this._materialNode.setShader(this._shader); | 158 | this._materialNode.setShader(this._shader); |
159 | 159 | ||
160 | // set the shader values in the shader | 160 | // set the shader values in the shader |