From: Marko Luukkainen Date: Thu, 28 Nov 2019 15:39:13 +0000 (+0200) Subject: Allow adding adjustable length components in the middle of a pipe X-Git-Tag: v1.43.0~111 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=f7b90e53bfee9f1717d5fea4a776af85a888a576;p=simantics%2F3d.git Allow adding adjustable length components in the middle of a pipe gitlab #26 Change-Id: Iafc06d7553984033a1e085866bf3f21536dd7e3c (cherry picked from commit f8e541f1d66cda57802da11aaa715b9f9c1c79a9) --- diff --git a/org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java b/org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java index dd3f4807..00b52f3b 100644 --- a/org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java +++ b/org.simantics.plant3d/src/org/simantics/plant3d/dialog/ComponentSelectionDialog.java @@ -437,7 +437,7 @@ public class ComponentSelectionDialog extends Dialog implements ISelectionChange if (selected.getType() == Type.INLINE) { filterAllowed.add(PositionType.NEXT); filterAllowed.add(PositionType.PREVIOUS); - if (inlineSplit) { + if (inlineSplit && selected.isVariable()) { lengthText.setEnabled(false); angleText.setEnabled(false); rotationAngleText.setEnabled(selected.isRotated());