From c6b91c52cba4ea4972ecc07a237f543e35d608b9 Mon Sep 17 00:00:00 2001 From: Pushkar Joshi Date: Tue, 27 Mar 2012 09:38:02 -0700 Subject: add a setfillcolor to brush stroke so the default fillcolor handler does not get called --- js/lib/geom/brush-stroke.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/js/lib/geom/brush-stroke.js b/js/lib/geom/brush-stroke.js index 70429ca9..9c8822a7 100755 --- a/js/lib/geom/brush-stroke.js +++ b/js/lib/geom/brush-stroke.js @@ -188,6 +188,10 @@ var BrushStroke = function GLBrushStroke() { this._strokeColor = c; this._isDirty = true; }; + this.setFillColor = function(c){ + return; + }; //NO-OP for now as we have no fill region + this.setSecondStrokeColor = function(c){ this._secondStrokeColor=c; this._isDirty = true; } -- cgit v1.2.3