]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Diagram to SVG was rendering removed elements 04/1104/1
authorMarko Luukkainen <marko.luukkainen@vtt.fi>
Fri, 13 Oct 2017 12:04:53 +0000 (15:04 +0300)
committerMarko Luukkainen <marko.luukkainen@vtt.fi>
Fri, 13 Oct 2017 12:04:53 +0000 (15:04 +0300)
fixes #7546

Change-Id: Icf6121c4d9792fc32b155bc2f68549e615970b7e

bundles/org.simantics.modeling/src/org/simantics/modeling/SCLScenegraph.java

index 09999bdd2faccee53b2b4969016756a343ccfa8c..2591dc7d85dfd79ffa05dd208667d1b9caf5aa65 100644 (file)
@@ -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