]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Revert 1.43.0-CVM2 branch to initial state 90/4690/1
authorJussi Koskela <jussi.koskela@semantum.fi>
Tue, 13 Apr 2021 06:24:57 +0000 (09:24 +0300)
committerJussi Koskela <jussi.koskela@semantum.fi>
Tue, 13 Apr 2021 06:24:57 +0000 (09:24 +0300)
gitlab #691

Change-Id: If53f9c4b1dc9667cf5e8d89674b4fd59c3f74a0a

bundles/org.simantics.diagram.svg/src/org/simantics/diagram/svg/export/DiagramToSVG.java
bundles/org.simantics.scenegraph/src/org/simantics/scenegraph/g2d/G2DSceneGraph.java

index a8de56f612de2b283a05557ba00bfdd5b1fda7e9..9964592f95c6136eed0b38a426fc840db49e4ca3 100644 (file)
@@ -236,7 +236,6 @@ public class DiagramToSVG {
                        });
 
                        ICanvasSceneGraphProvider provider = DiagramNodeUtil.loadSceneGraphProvider(ctx, modelAndRVI.first, exportPlan.diagram, modelAndRVI.second);
-                       Thread.sleep(1000);
                        sgProvider.set( provider );
 
                        final Semaphore done = new Semaphore(0);
index df28d317f692adbe10c506353bc3ad73c5687caf..a013dc0419a74ab386d50f5c554fd6190b18e81b 100644 (file)
@@ -335,7 +335,7 @@ public class G2DSceneGraph extends G2DParentNode implements ILookupService, INod
         }
     }
 
-    synchronized public boolean isPending() {
+    public boolean isPending() {
         return !pending.isEmpty();
     }