]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Resolving a variable for name that has no Resource representation fails. 58/2558/1
authorMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 17 Dec 2018 17:32:41 +0000 (19:32 +0200)
committerMarko Luukkainen <marko.luukkainen@semantum.fi>
Mon, 17 Dec 2018 17:32:41 +0000 (19:32 +0200)
gitlab #235

Change-Id: I673f6fec7f66ae0f16179c299a0f747c4f595cec

bundles/org.simantics.structural2/src/org/simantics/structural2/Functions.java

index 36461419d6535426e30bc611e492e62e60945542..f3f9344aa2893cce478123b95d079c53a7b35fe1 100644 (file)
@@ -572,7 +572,6 @@ public class Functions {
                                if(represents == null) return null;
                 Map<String, Resource> children = graph.syncRequest(new UnescapedChildMapOfResource(represents));
                 Resource child = children.get(name);
-                if(child == null) return null;
                 return StandardChildDomainChildren.getStandardChildDomainChildVariable(graph, context, child, name);
                        }