From: Tuukka Lehtonen Date: Thu, 14 Jun 2018 17:52:50 +0000 (+0300) Subject: Write model activation information in activations VG X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=1892e5c85a97d5be2fc3c571656cbbd8046f2c6a;p=simantics%2Fplatform.git Write model activation information in activations VG gitlab #5 --- diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/ActivateModel.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/ActivateModel.java index 770659935..c7187b883 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/ActivateModel.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/request/ActivateModel.java @@ -46,7 +46,7 @@ public class ActivateModel extends WriteResultRequest { if (vg == activations) { return perform(graph, project, model); } else { - return graph.syncRequest(new WriteResultRequest() { + return graph.syncRequest(new WriteResultRequest(activations) { @Override public Boolean perform(WriteGraph graph) throws DatabaseException { return ActivateModel.perform(graph, project, model);