From 63ff14b2e48d0acca5483692eb7886f347db7565 Mon Sep 17 00:00:00 2001 From: Antti Villberg Date: Wed, 16 Aug 2017 13:22:10 +0300 Subject: [PATCH] Fixes to SVG generation refs #7421 Change-Id: Ife3918d5a06a3394494f61c6230ef33ca5fb7302 --- .../org/simantics/modeling/SCLScenegraph.java | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) 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 3e81b1c5c..dd09f9ebf 100644 --- a/bundles/org.simantics.modeling/src/org/simantics/modeling/SCLScenegraph.java +++ b/bundles/org.simantics.modeling/src/org/simantics/modeling/SCLScenegraph.java @@ -636,15 +636,16 @@ public class SCLScenegraph { if(!Double.isFinite(trX)) trX = 0; if(!Double.isFinite(trY)) trY = 0; - result.append(MAIN_SECTION, ""); - + result.append(MAIN_SECTION, ""); result.append(SELECTION_SECTION, ""); - result.append(SELECTION_MASK_SECTION, ""); + + result.append(ALL_SECTIONS, ""); + KeyVisitor keyVisitor = new KeyVisitor(); sg.accept(keyVisitor); @@ -662,9 +663,7 @@ public class SCLScenegraph { } - result.append(SELECTION_SECTION, ""); - result.append(SELECTION_MASK_SECTION, ""); - result.append(MAIN_SECTION, ""); + result.append(ALL_SECTIONS, ""); StringBuilder res = new StringBuilder(); res.append(""); -- 2.47.1