From 417e6ab467f1d00b645c69e17612b9a82d91d107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jindra=20Pet=C5=99=C3=ADk?= Date: Fri, 29 Aug 2025 18:00:47 +0200 Subject: [PATCH] Empty outline fix --- .../src/com/jpexs/decompiler/flash/timeline/Timeline.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java index 2381d3100..d88c67c51 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/timeline/Timeline.java @@ -2102,6 +2102,9 @@ public class Timeline { */ public Shape getOutline(boolean fast, int frame, int time, RenderContext renderContext, Matrix transformation, boolean stroked, ExportRectangle viewRect, double unzoom) { Frame fr = getFrame(frame); + if (fr == null) { + return new Rectangle2D.Double(); + } Area area = new Area(); Stack clips = new Stack<>(); for (int d = maxDepth; d >= 0; d--) {