From: Marko Luukkainen Date: Fri, 13 Oct 2017 12:04:53 +0000 (+0300) Subject: Diagram to SVG was rendering removed elements X-Git-Tag: v1.31.0~122 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F04%2F1104%2F1;p=simantics%2Fplatform.git Diagram to SVG was rendering removed elements fixes #7546 Change-Id: Icf6121c4d9792fc32b155bc2f68549e615970b7e --- 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