From 18609d375e7aab9cb48c9b3f5b291f85cbd28683 Mon Sep 17 00:00:00 2001 From: John Mayhew Date: Tue, 3 Apr 2012 13:39:32 -0700 Subject: removed old unused import and export functions. --- js/lib/geom/brush-stroke.js | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'js/lib/geom/brush-stroke.js') diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js index 22209815..26ac42e9 100755 --- a/js/lib/geom/brush-stroke.js +++ b/js/lib/geom/brush-stroke.js @@ -711,18 +711,6 @@ var BrushStroke = function GLBrushStroke() { this.update(); //after this, the stroke is ready to be rendered }; - - this.export = function() { - var jsonObject = this.exportJSON(); - var stringified = JSON.stringify(jsonObject); - return "type: " + this.geomType() + "\n" + stringified; - }; - - this.import = function( importStr ) { - var jsonObject = JSON.parse(importStr); - this.importJSON(jsonObject); - } - this.collidesWithPoint = function (x, y, z) { if (x < this._BBoxMin[0]) return false; if (x > this._BBoxMax[0]) return false; -- cgit v1.2.3 From 2a87a750f06003fc62e8e0e73983e14ce24fc7a7 Mon Sep 17 00:00:00 2001 From: Nivesh Rajbhandari Date: Tue, 17 Apr 2012 10:19:20 -0700 Subject: IKNinja-1477 - Cannot preflight Fill color if WebGL Line shape is selected. Signed-off-by: Nivesh Rajbhandari --- js/lib/geom/brush-stroke.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/lib/geom/brush-stroke.js') 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() { this._strokeAngle = 0; this._strokeAmountSmoothing = 0; + // currently, brush does not support a fill region + this.canFill = false; + //threshold that tells us whether two samples are too far apart this._MAX_SAMPLE_DISTANCE_THRESHOLD = 5; -- cgit v1.2.3