From 2ebe792aa45ea728815c82dc54e08d83b7de0cd5 Mon Sep 17 00:00:00 2001 From: Jussi Koskela Date: Fri, 23 Aug 2019 13:57:35 +0300 Subject: [PATCH] Add index root resource initially to its own index gitlab #360 Change-Id: I9c90b7ba36b818e3559741d72282ad057c58f774 --- .../db/layer0/genericrelation/DependenciesRelation.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java index e300384f1..6f310120b 100644 --- a/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java +++ b/bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java @@ -164,6 +164,8 @@ public class DependenciesRelation extends UnsupportedRelation implements Generic }); + result.add(new Entry(graph, resource)); + graph.syncRequest(new ReadRequest() { @Override -- 2.47.1