diff options
author | Nivesh Rajbhandari | 2012-04-17 10:19:20 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-04-17 10:19:20 -0700 |
commit | 2a87a750f06003fc62e8e0e73983e14ce24fc7a7 (patch) | |
tree | 9566a079910cd08542ac7b35e8bc417dcecf8d1e /js/lib/geom/brush-stroke.js | |
parent | c253192a08b499ea7be46fa5438d273e51f7ec5a (diff) | |
download | ninja-2a87a750f06003fc62e8e0e73983e14ce24fc7a7.tar.gz |
IKNinja-1477 - Cannot preflight Fill color if WebGL Line shape is selected.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/lib/geom/brush-stroke.js')
-rwxr-xr-x | js/lib/geom/brush-stroke.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js index 26ac42e9..743dab85 100755 --- a/js/lib/geom/brush-stroke.js +++ b/js/lib/geom/brush-stroke.js | |||
@@ -44,6 +44,9 @@ var BrushStroke = function GLBrushStroke() { | |||
44 | this._strokeAngle = 0; | 44 | this._strokeAngle = 0; |
45 | this._strokeAmountSmoothing = 0; | 45 | this._strokeAmountSmoothing = 0; |
46 | 46 | ||
47 | // currently, brush does not support a fill region | ||
48 | this.canFill = false; | ||
49 | |||
47 | //threshold that tells us whether two samples are too far apart | 50 | //threshold that tells us whether two samples are too far apart |
48 | this._MAX_SAMPLE_DISTANCE_THRESHOLD = 5; | 51 | this._MAX_SAMPLE_DISTANCE_THRESHOLD = 5; |
49 | 52 | ||