From dc4ea7660e4a7fe9e9f8d0f23cdd53de9968b104 Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Thu, 29 Dec 2016 17:52:05 +0200 Subject: [PATCH] Cluster sets are written to wrong directory until first snapshot is made Initialize write directory in GraphClientImpl2 constructor. refs #6906 Change-Id: I8b985db54ee080a981f2db1543ef1f027127c2ad --- .../src/org/simantics/acorn/GraphClientImpl2.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/org.simantics.acorn/src/org/simantics/acorn/GraphClientImpl2.java b/bundles/org.simantics.acorn/src/org/simantics/acorn/GraphClientImpl2.java index 90af336aa..982c743fd 100644 --- a/bundles/org.simantics.acorn/src/org/simantics/acorn/GraphClientImpl2.java +++ b/bundles/org.simantics.acorn/src/org/simantics/acorn/GraphClientImpl2.java @@ -86,6 +86,7 @@ public class GraphClientImpl2 implements Database.Session { load(); ClusterSetsSupport cssi = locator.getService(ClusterSetsSupport.class); cssi.setReadDirectory(clusters.lastSessionDirectory); + cssi.updateWriteDirectory(clusters.workingDirectory); mainProgram = new MainProgram(this, clusters); executor.execute(mainProgram); } -- 2.47.1