X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=bundles%2Forg.simantics.modeling%2Fsrc%2Forg%2Fsimantics%2Fmodeling%2FSCLScenegraph.java;h=dd09f9ebf6ced3a93018fe3ecafb8f141dbdd067;hb=63ff14b2e48d0acca5483692eb7886f347db7565;hp=3e81b1c5cc620b81f23fa8f1ce0fa40fee67db81;hpb=71ec74823894138693ed9cde9e22270453fb4127;p=simantics%2Fplatform.git
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("