From bf387eba064c1f47fcf9df45de15d13db79a4c99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Mon, 5 Apr 2021 15:36:05 +0200 Subject: [PATCH] Removed: Flash viewer - miter with clip support removed as it was not working correctly --- CHANGELOG.md | 3 +++ .../jpexs/decompiler/flash/exporters/shape/BitmapExporter.java | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fc722fc5..9a08bfbb6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -33,6 +33,9 @@ All notable changes to this project will be documented in this file. - AS decompilation - §§push before loop - [#1678] Flash viewer - shapes with mitter join do not render correctly +### Removed +- Flash viewer - miter with clip support removed as it was not working correctly + ## [14.3.1] - 2021-03-25 ### Fixed - "protected", "const", "namespace", "package" are not reserved keywords in AS1/2 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 efc63628b..bc9f9f81e 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 @@ -416,7 +416,8 @@ public class BitmapExporter extends ShapeExporterBase { } if (joinStyle == BasicStroke.JOIN_MITER) { - lineStroke = new MiterClipBasicStroke(new BasicStroke((float) thickness, capStyle, joinStyle, miterLimit)); + lineStroke = new BasicStroke((float) thickness, capStyle, joinStyle, miterLimit); + //lineStroke = new MiterClipBasicStroke((BasicStroke) lineStroke); } else { lineStroke = new BasicStroke((float) thickness, capStyle, joinStyle); }