diff options
Diffstat (limited to 'js/lib/rdge/materials/radial-gradient-material.js')
-rwxr-xr-x | js/lib/rdge/materials/radial-gradient-material.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/js/lib/rdge/materials/radial-gradient-material.js b/js/lib/rdge/materials/radial-gradient-material.js index 65679429..083b7371 100755 --- a/js/lib/rdge/materials/radial-gradient-material.js +++ b/js/lib/rdge/materials/radial-gradient-material.js | |||
@@ -147,9 +147,9 @@ var RadialGradientMaterial = function RadialGradientMaterial() { | |||
147 | /////////////////////////////////////////////////////////////////////// | 147 | /////////////////////////////////////////////////////////////////////// |
148 | // Material Property Accessors | 148 | // Material Property Accessors |
149 | /////////////////////////////////////////////////////////////////////// | 149 | /////////////////////////////////////////////////////////////////////// |
150 | this._propNames = ["color1", "color2", "color3", "color4", "colorStop1", "colorStop2", "colorStop3", "colorStop4", "angle"]; | 150 | this._propNames = ["color1", "color2", "color3", "color4", "colorStop1", "colorStop2", "colorStop3", "colorStop4" ]; |
151 | this._propLabels = ["Color 1", "Color 2", "Color 3", "Color 4", "Color Stop 1", "Color Stop 2", "Color Stop 3", "Color Stop 4", "Angle"]; | 151 | this._propLabels = ["Color 1", "Color 2", "Color 3", "Color 4", "Color Stop 1", "Color Stop 2", "Color Stop 3", "Color Stop 4" ]; |
152 | this._propTypes = ["color", "color", "color", "color", "float", "float", "float", "float", "float"]; | 152 | this._propTypes = ["color", "color", "color", "color", "float", "float", "float", "float" ]; |
153 | this._propValues = []; | 153 | this._propValues = []; |
154 | 154 | ||
155 | this._propValues[this._propNames[0]] = this._color1.slice(0); | 155 | this._propValues[this._propNames[0]] = this._color1.slice(0); |
@@ -180,7 +180,6 @@ var RadialGradientMaterial = function RadialGradientMaterial() { | |||
180 | case "colorStop2": this.setColorStop2(value); break; | 180 | case "colorStop2": this.setColorStop2(value); break; |
181 | case "colorStop3": this.setColorStop3(value); break; | 181 | case "colorStop3": this.setColorStop3(value); break; |
182 | case "colorStop4": this.setColorStop4(value); break; | 182 | case "colorStop4": this.setColorStop4(value); break; |
183 | case "angle": this.setAngle(value); break; | ||
184 | } | 183 | } |
185 | 184 | ||
186 | //this.updateValuesInShader(); | 185 | //this.updateValuesInShader(); |