From 69d61f8a5c49c5b6044f6e0cbc0723fa2e6ef164 Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Mon, 17 Dec 2018 19:32:41 +0200 Subject: [PATCH] Resolving a variable for name that has no Resource representation fails. gitlab #235 Change-Id: I673f6fec7f66ae0f16179c299a0f747c4f595cec --- .../src/org/simantics/structural2/Functions.java | 1 - 1 file changed, 1 deletion(-) diff --git a/bundles/org.simantics.structural2/src/org/simantics/structural2/Functions.java b/bundles/org.simantics.structural2/src/org/simantics/structural2/Functions.java index 36461419d..f3f9344aa 100644 --- a/bundles/org.simantics.structural2/src/org/simantics/structural2/Functions.java +++ b/bundles/org.simantics.structural2/src/org/simantics/structural2/Functions.java @@ -572,7 +572,6 @@ public class Functions { if(represents == null) return null; Map children = graph.syncRequest(new UnescapedChildMapOfResource(represents)); Resource child = children.get(name); - if(child == null) return null; return StandardChildDomainChildren.getStandardChildDomainChildVariable(graph, context, child, name); } -- 2.47.1