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/LinearGradientMaterial.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/LinearGradientMaterial.js')
-rw-r--r-- | js/helper-classes/RDGE/Materials/LinearGradientMaterial.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js b/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js index f026cd15..ce965296 100644 --- a/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js +++ b/js/helper-classes/RDGE/Materials/LinearGradientMaterial.js | |||
@@ -98,7 +98,7 @@ function LinearGradientMaterial() | |||
98 | this._shader.default.u_cos_sin_angle.set([Math.cos(a), Math.sin(a)]); | 98 | this._shader.default.u_cos_sin_angle.set([Math.cos(a), Math.sin(a)]); |
99 | } | 99 | } |
100 | 100 | ||
101 | this.isAnimated = function() { return true; } | 101 | this.isAnimated = function() { return false; } |
102 | 102 | ||
103 | /////////////////////////////////////////////////////////////////////// | 103 | /////////////////////////////////////////////////////////////////////// |
104 | // Material Property Accessors | 104 | // Material Property Accessors |