aboutsummaryrefslogtreecommitdiff
path: root/js/lib/geom/brush-stroke.js
diff options
context:
space:
mode:
authorValerio Virgillito2012-04-17 15:27:36 -0700
committerValerio Virgillito2012-04-17 15:27:36 -0700
commit616a8532099fec2a15855eac97cd85cb60c4451c (patch)
tree8f54b42024a7d0ab2c6a0e37884b9af3c2d94451 /js/lib/geom/brush-stroke.js
parentcacb4a21825818af392c2949967b0f3c1df509c5 (diff)
parent078208d02205f54808db888bbdbe5f69b3abba4b (diff)
downloadninja-616a8532099fec2a15855eac97cd85cb60c4451c.tar.gz
Merge pull request #166 from mqg734/WebGLFixes
IKNinja-1477 - Cannot preflight Fill color if WebGL Line shape is selected.
Diffstat (limited to 'js/lib/geom/brush-stroke.js')
-rwxr-xr-xjs/lib/geom/brush-stroke.js3
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