From e8248a964b57278bc71becfc88aac7bee979ada2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=F8=EDk?= Date: Sat, 13 Jul 2013 13:46:21 +0200 Subject: [PATCH] Issue #230 Export FLA issue with vector graphics stroke --- trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java b/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java index b70047c3b..76457c4a6 100644 --- a/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java +++ b/trunk/src/com/jpexs/decompiler/flash/xfl/XFLConverter.java @@ -445,14 +445,14 @@ public class XFLConverter { } } if (lineStyles != null) { - if (lineStyles.lineStyles2 != null) { //(shapeNum == 4) { + if ((shapeNum == 4) && (lineStyles.lineStyles2 != null)) { //(shapeNum == 4) { for (int l = 0; l < lineStyles.lineStyles2.length; l++) { strokesStr += ""; strokesStr += convertLineStyle(characters, lineStyles.lineStyles2[l], shapeNum); strokesStr += ""; lineStyleCount++; } - } else { + } else if (lineStyles.lineStyles != null) { for (int l = 0; l < lineStyles.lineStyles.length; l++) { strokesStr += ""; strokesStr += convertLineStyle(lineStyles.lineStyles[l], shapeNum);