]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Always write model activation information in activations VG
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 3 Aug 2018 05:32:00 +0000 (08:32 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Sat, 1 Sep 2018 08:21:51 +0000 (11:21 +0300)
gitlab #72

Change-Id: Iae03fee489bfb3b50797dc2cd271e65ec535133a
(cherry picked from commit 0d600d71de7dfab22bdcd0588cd792800bfe3a8c)

bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/ActivateModel.java

index 770659935180b4d38cb40b179512a145b326be82..c7187b88301189fa504c1af0200ac5e707552e58 100644 (file)
@@ -46,7 +46,7 @@ public class ActivateModel extends WriteResultRequest<Boolean> {
         if (vg == activations) {
             return perform(graph, project, model);
         } else {
-            return graph.syncRequest(new WriteResultRequest<Boolean>() {
+            return graph.syncRequest(new WriteResultRequest<Boolean>(activations) {
                 @Override
                 public Boolean perform(WriteGraph graph) throws DatabaseException {
                     return ActivateModel.perform(graph, project, model);