From 417eee8911a617038f5f10dfb1cae37ac4a45bef Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Mon, 26 Mar 2018 23:33:42 +0300 Subject: [PATCH] Use searchByTypeShallow in ModelingUtils.createMissingGUIDs refs #7845 Change-Id: Idf9c33687c53a9725821911fce59d9cf7287ce9c --- .../src/org/simantics/modeling/ModelingUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.simantics.modeling/src/org/simantics/modeling/ModelingUtils.java b/bundles/org.simantics.modeling/src/org/simantics/modeling/ModelingUtils.java index 1f530f59f..de388b257 100644 --- a/bundles/org.simantics.modeling/src/org/simantics/modeling/ModelingUtils.java +++ b/bundles/org.simantics.modeling/src/org/simantics/modeling/ModelingUtils.java @@ -2371,7 +2371,7 @@ public class ModelingUtils { monitor.setTaskName("Creating missing GUID identifiers " + NameUtils.getSafeName(graph, root)); Resource indexRoot = graph.syncRequest(new PossibleIndexRoot(root)); - for(Resource r : searchByType(graph, indexRoot, L0.Entity)) { + for(Resource r : searchByTypeShallow(graph, indexRoot, L0.Entity)) { memory.maintain(); -- 2.47.1