From 5a42f1ed911215d52ef25d1af8468eab3f1053a4 Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Sun, 6 Mar 2016 19:36:05 +0100 Subject: [PATCH] line fla export fix --- .../jpexs/decompiler/flash/xfl/XFLConverter.java | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java index 3dea99eca..5f71e33bf 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java @@ -233,12 +233,16 @@ public class XFLConverter { private static void convertLineStyle(LINESTYLE ls, int shapeNum, StringBuilder ret) { ret.append("" - + "" - + "" - + "" - + ""); + + ""); + if (!(ls instanceof LINESTYLE2) || !((LINESTYLE2) ls).hasFillFlag) { + ret.append(""); + } else { + // todo: line fill + } + ret.append("" + + ""); } private static void convertLineStyle(HashMap characters, LINESTYLE2 ls, int shapeNum, StringBuilder ret) {