diff options
author | Nivesh Rajbhandari | 2012-03-30 13:53:47 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-30 13:53:47 -0700 |
commit | eae317815e15a7ffc2dd1bd1e39b208eaa02fd2b (patch) | |
tree | cae3e2d74529061a04b817ae216c2dbecbb5c5bb /js/tools/LineTool.js | |
parent | 80782d5d0721463f716f0a7241afd09a38543199 (diff) | |
download | ninja-eae317815e15a7ffc2dd1bd1e39b208eaa02fd2b.tar.gz |
Update PI and Color Panel to reflect default LinearGradient and RadialGradient materials' colors.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/tools/LineTool.js')
-rwxr-xr-x | js/tools/LineTool.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/js/tools/LineTool.js b/js/tools/LineTool.js index dd5a7c72..499a6b9d 100755 --- a/js/tools/LineTool.js +++ b/js/tools/LineTool.js | |||
@@ -216,6 +216,7 @@ exports.LineTool = Montage.create(ShapeTool, { | |||
216 | { | 216 | { |
217 | strokeMaterial = Object.create(MaterialsModel.getMaterial(strokeM)); | 217 | strokeMaterial = Object.create(MaterialsModel.getMaterial(strokeM)); |
218 | } | 218 | } |
219 | strokeColor = this._getMaterialColor(strokeM) || strokeColor; | ||
219 | } | 220 | } |
220 | 221 | ||
221 | var world = this.getGLWorld(canvas, this.options.use3D); | 222 | var world = this.getGLWorld(canvas, this.options.use3D); |