]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Merge "Cluster sets are written to wrong directory until first snapshot is made"
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Mon, 9 Jan 2017 09:16:21 +0000 (11:16 +0200)
committerGerrit Code Review <gerrit2@www.simantics.org>
Mon, 9 Jan 2017 09:16:21 +0000 (11:16 +0200)
bundles/org.simantics.acorn/src/org/simantics/acorn/GraphClientImpl2.java

index 90af336aafdc079fe99b6210ad9d139211d86f45..982c743fdeadb9ebe5d9939e5512e9e6bc638af9 100644 (file)
@@ -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);
        }