diff options
author | hwc487 | 2012-06-14 16:09:31 -0700 |
---|---|---|
committer | hwc487 | 2012-06-14 16:09:31 -0700 |
commit | f0fc7a5678093cce986bd99fef2c5c88add19b68 (patch) | |
tree | b82ab65fe4df3514c90cf9ce5ca57d0197181078 /js/lib/geom | |
parent | bcb0266bb6f9a578d033ad5b7b9869074e4f98a1 (diff) | |
download | ninja-f0fc7a5678093cce986bd99fef2c5c88add19b68.tar.gz |
Fix for line color.
Name change for all materials
Diffstat (limited to 'js/lib/geom')
-rwxr-xr-x | js/lib/geom/line.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/lib/geom/line.js b/js/lib/geom/line.js index 3c811698..a016d7a3 100755 --- a/js/lib/geom/line.js +++ b/js/lib/geom/line.js | |||
@@ -64,6 +64,7 @@ exports.Line = Object.create(GeomObj, { | |||
64 | 64 | ||
65 | if(strokeMaterial) { | 65 | if(strokeMaterial) { |
66 | this._strokeMaterial = strokeMaterial; | 66 | this._strokeMaterial = strokeMaterial; |
67 | if (strokeColor && this._strokeMaterial.hasProperty( "color" )) this._strokeMaterial.setProperty( "color", this._strokeColor ); | ||
67 | } | 68 | } |
68 | } | 69 | } |
69 | }, | 70 | }, |