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

Change-Id: Iae03fee489bfb3b50797dc2cd271e65ec535133a

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