diff options
author | hwc487 | 2012-01-30 16:15:12 -0800 |
---|---|---|
committer | hwc487 | 2012-01-30 16:15:12 -0800 |
commit | 8e43a46e3d79323fe06dc7771bc611a2c3c85c5c (patch) | |
tree | 37773f0a4d3212ff633690b270a4756c02d2b2bc /js/helper-classes/RDGE/Materials/RadialGradientMaterial.js | |
parent | c41d2c2b749b67921f243fb7594ce0cdb1ccce36 (diff) | |
download | ninja-8e43a46e3d79323fe06dc7771bc611a2c3c85c5c.tar.gz |
Renderer startup handling of non-animated materials.
Changed zoom from the document bar to keep the location center of the viewable portion of the document fixed.
Diffstat (limited to 'js/helper-classes/RDGE/Materials/RadialGradientMaterial.js')
-rw-r--r-- | 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 5f912dec..cf91f1aa 100644 --- a/js/helper-classes/RDGE/Materials/RadialGradientMaterial.js +++ b/js/helper-classes/RDGE/Materials/RadialGradientMaterial.js | |||
@@ -92,7 +92,7 @@ function RadialGradientMaterial() | |||
92 | this._shader.default.u_colorCount.set([c]); | 92 | this._shader.default.u_colorCount.set([c]); |
93 | } | 93 | } |
94 | 94 | ||
95 | this.isAnimated = function() { return true; } | 95 | this.isAnimated = function() { return false; } |
96 | 96 | ||
97 | 97 | ||
98 | /////////////////////////////////////////////////////////////////////// | 98 | /////////////////////////////////////////////////////////////////////// |