From: Jussi Koskela Date: Fri, 23 Aug 2019 10:57:35 +0000 (+0300) Subject: Add index root resource initially to its own index X-Git-Tag: v1.43.0~136^2~99 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F3147%2F2;p=simantics%2Fplatform.git Add index root resource initially to its own index gitlab #360 Change-Id: I9c90b7ba36b818e3559741d72282ad057c58f774 --- 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