From 3b4bf8acfe0a6126ce44c5452ffee4dd9af119e3 Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Fri, 13 Oct 2017 15:04:53 +0300 Subject: [PATCH] Diagram to SVG was rendering removed elements fixes #7546 Change-Id: Icf6121c4d9792fc32b155bc2f68549e615970b7e --- .../src/org/simantics/modeling/SCLScenegraph.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/org.simantics.modeling/src/org/simantics/modeling/SCLScenegraph.java b/bundles/org.simantics.modeling/src/org/simantics/modeling/SCLScenegraph.java index 09999bdd2..2591dc7d8 100644 --- a/bundles/org.simantics.modeling/src/org/simantics/modeling/SCLScenegraph.java +++ b/bundles/org.simantics.modeling/src/org/simantics/modeling/SCLScenegraph.java @@ -599,6 +599,7 @@ public class SCLScenegraph { } G2DSceneGraph sg = ctx.getSceneGraph(); + sg.performCleanup(); G2DParentNode root = (G2DParentNode) sg.getRootNode(); // rtree is the actual content of the diagram -- 2.47.1