SVG Importer: remove handling of default value for path fill color for now.

This commit is contained in:
Jonathan Puckey 2012-11-08 18:27:35 +01:00
parent 56c90839ab
commit 126a631200

View file

@ -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);