Fixed issue 85: Ensure unused gradients are removed when serializing SVG

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@415 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Alexis Deveria
2009-08-19 17:08:05 +00:00
parent 62f484f5d5
commit c2e0387465
2 changed files with 91 additions and 42 deletions

View File

@@ -745,10 +745,10 @@ function svg_edit_setup() {
opacity.html(paint.alpha + " %");
if (picker == 'stroke') {
svgCanvas.setStrokePaint(paint);
svgCanvas.setStrokePaint(paint, true);
}
else {
svgCanvas.setFillPaint(paint);
svgCanvas.setFillPaint(paint, true);
}
$('#color_picker').hide();