]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Include disconnected flag terminals for connection judgement 36/3136/3
authorJussi Koskela <jussi.koskela@semantum.fi>
Wed, 21 Aug 2019 10:38:06 +0000 (13:38 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Fri, 23 Aug 2019 11:35:37 +0000 (11:35 +0000)
gitlab #354

Change-Id: I318b0594d52fd4faf2d77e662e1ff04653922956

bundles/org.simantics.modeling/src/org/simantics/modeling/rules/MappedModelingRules.java

index 21a435f4ab134aa26d920d93241e113badce0487..99e8648615ec04225d7a8f0805dd29030173829e 100644 (file)
@@ -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) {