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/geom-obj.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'js/lib/geom/geom-obj.js') diff --git a/js/lib/geom/geom-obj.js b/js/lib/geom/geom-obj.js index 2cde8a75..f2991bdb 100755 --- a/js/lib/geom/geom-obj.js +++ b/js/lib/geom/geom-obj.js @@ -47,6 +47,9 @@ var GeomObj = function GLGeomObj() { this._fillMaterial = null; this._strokeMaterial = null; + // Shapes (such as lines) that don't support fill should set this to false + this.canFill = true; + // array of primitives - used in RDGE this._primArray = []; this._materialNodeArray = []; -- cgit v1.2.3