closing swffixed, #766 [error] Can't extract all resources from the swf fixed

This commit is contained in:
honfika@gmail.com
2015-01-11 15:52:22 +01:00
parent c16e2abfc1
commit 18e7b1ecf6
3 changed files with 9 additions and 3 deletions

View File

@@ -156,7 +156,9 @@ public class SVGShapeExporter extends DefaultSVGShapeExporter {
finalizePath();
thickness *= zoom / SWF.unitDivisor;
path.setAttribute("fill", "none");
path.setAttribute("stroke", color.toHexRGB());
if (color != null) {
path.setAttribute("stroke", color.toHexRGB());
}
path.setAttribute("stroke-width", Double.toString(thickness == 0 ? 1 : thickness));
if (color instanceof RGBA) {
RGBA colorA = (RGBA) color;

View File

@@ -44,7 +44,11 @@ public class SWFList implements List<SWF>, SWFContainerItem {
@Override
public String toString() {
return name;
if (isBundle) {
return name;
} else {
return swfs.get(0).getFileTitle();
}
}
@Override