From: Tuukka Lehtonen Date: Fri, 3 Aug 2018 05:32:00 +0000 (+0300) Subject: Always write model activation information in activations VG X-Git-Tag: v1.43.0~136^2~417 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F81%2F1981%2F1;p=simantics%2Fplatform.git Always write model activation information in activations VG gitlab #72 Change-Id: Iae03fee489bfb3b50797dc2cd271e65ec535133a --- 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);