aboutsummaryrefslogtreecommitdiff
path: root/js/lib/geom
diff options
context:
space:
mode:
authorhwc4872012-06-14 16:09:31 -0700
committerhwc4872012-06-14 16:09:31 -0700
commitf0fc7a5678093cce986bd99fef2c5c88add19b68 (patch)
treeb82ab65fe4df3514c90cf9ce5ca57d0197181078 /js/lib/geom
parentbcb0266bb6f9a578d033ad5b7b9869074e4f98a1 (diff)
downloadninja-f0fc7a5678093cce986bd99fef2c5c88add19b68.tar.gz
Fix for line color.
Name change for all materials
Diffstat (limited to 'js/lib/geom')
-rwxr-xr-xjs/lib/geom/line.js1
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 },