From 126a631200f995d2b0938db457d55a5e81fc855b Mon Sep 17 00:00:00 2001 From: Jonathan Puckey Date: Thu, 8 Nov 2012 18:27:35 +0100 Subject: [PATCH] SVG Importer: remove handling of default value for path fill color for now. --- src/svg/SvgImport.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/svg/SvgImport.js b/src/svg/SvgImport.js index 544e74fa..20d2f745 100644 --- a/src/svg/SvgImport.js +++ b/src/svg/SvgImport.js @@ -350,9 +350,6 @@ new function() { var name = svg.style[i]; item = applyAttribute(item, svg, name, svg.style[Base.camelize(name)]); } - // Path items receive a black fill color by default: - if (item instanceof Path && !item.getFillColor()) - item.setFillColor(new GrayColor(1)); for (var i = 0, l = svg.attributes.length; i < l; i++) { var attr = svg.attributes[i]; item = applyAttribute(item, svg, attr.name, attr.value);