]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.db.layer0/src/org/simantics/db/layer0/genericrelation/DependenciesRelation.java
Add index root resource initially to its own index
[simantics/platform.git] / bundles / org.simantics.db.layer0 / src / org / simantics / db / layer0 / genericrelation / DependenciesRelation.java
index e300384f1f686ac3c874d2a17e8046399f1ce0cf..6f310120bc6f5c5cc6eb9bbf0469199091a471ac 100644 (file)
@@ -164,6 +164,8 @@ public class DependenciesRelation extends UnsupportedRelation implements Generic
 
                        });
 
+                       result.add(new Entry(graph, resource));
+
                        graph.syncRequest(new ReadRequest() {
 
                                @Override