From bde33538557927f24d648370221320ae5ea2c408 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Sun, 13 Nov 2022 21:09:34 +0100 Subject: [PATCH] Disabled miter join - it is too slow :-( --- CHANGELOG.md | 1 - .../jpexs/decompiler/flash/exporters/shape/BitmapExporter.java | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 21d61d4c1..87babc7b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,7 +37,6 @@ All notable changes to this project will be documented in this file. - [#1846] blend modes with alpha - Raw editor does not select item in enum list - Sound not played on frames -- [#1678] Miter join ### Changed - Full path inside bundle is displayed as SWF name instead simple name diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/BitmapExporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/BitmapExporter.java index c2186e150..723fd51d7 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/BitmapExporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/exporters/shape/BitmapExporter.java @@ -440,7 +440,8 @@ public class BitmapExporter extends ShapeExporterBase { if (joinStyle == BasicStroke.JOIN_MITER) { lineStroke = new BasicStroke((float) thickness, capStyle, joinStyle, miterLimit); - lineStroke = new MiterClipBasicStroke((BasicStroke) lineStroke); + //This seems to be correct, but ridiculously slow :-( + //lineStroke = new MiterClipBasicStroke((BasicStroke) lineStroke); } else { lineStroke = new BasicStroke((float) thickness, capStyle, joinStyle); }