Empty outline fix

This commit is contained in:
Jindra Petřík
2025-08-29 18:00:47 +02:00
parent 1316c1e58b
commit 417e6ab467
@@ -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<Clip> clips = new Stack<>();
for (int d = maxDepth; d >= 0; d--) {