From 0d600d71de7dfab22bdcd0588cd792800bfe3a8c Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Fri, 3 Aug 2018 08:32:00 +0300 Subject: [PATCH] Always write model activation information in activations VG gitlab #72 Change-Id: Iae03fee489bfb3b50797dc2cd271e65ec535133a --- .../src/org/simantics/db/layer0/request/ActivateModel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.47.1