From: Jussi Koskela Date: Wed, 21 Aug 2019 10:38:06 +0000 (+0300) Subject: Include disconnected flag terminals for connection judgement X-Git-Tag: v1.43.0~136^2~76^2 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F36%2F3136%2F3;p=simantics%2Fplatform.git Include disconnected flag terminals for connection judgement gitlab #354 Change-Id: I318b0594d52fd4faf2d77e662e1ff04653922956 --- diff --git a/bundles/org.simantics.modeling/src/org/simantics/modeling/rules/MappedModelingRules.java b/bundles/org.simantics.modeling/src/org/simantics/modeling/rules/MappedModelingRules.java index 21a435f4a..99e864861 100644 --- a/bundles/org.simantics.modeling/src/org/simantics/modeling/rules/MappedModelingRules.java +++ b/bundles/org.simantics.modeling/src/org/simantics/modeling/rules/MappedModelingRules.java @@ -158,7 +158,7 @@ public class MappedModelingRules extends AbstractModelingRules { // This is a lifted flag in a structural configuration. mappedConnectionPoints.add(new CPTerminal(terminal.component, isLiftedAs)); } else { - // Do nothing, because the flag is not connected + mappedConnectionPoints.add(terminal); } } } else if (cp instanceof CPConnection) {