]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Write model activation information in activations VG
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 14 Jun 2018 17:52:50 +0000 (20:52 +0300)
committerAntti Villberg <antti.villberg@semantum.fi>
Thu, 26 Jul 2018 20:59:53 +0000 (23:59 +0300)
gitlab #5

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);