From: Reino Ruusu Date: Mon, 6 Apr 2020 12:10:44 +0000 (+0300) Subject: Fix error in inserting dual inline components X-Git-Tag: v1.43.0~27 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F70%2F4070%2F1;p=simantics%2F3d.git Fix error in inserting dual inline components gitlab #114 Change-Id: I454b7bb51c5b1cbdde8169e2556bb1049387349d (cherry picked from commit a745e75910247c95f7a9a5f4cc0598e2ca0cf95e) --- diff --git a/org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java b/org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java index 124e54bb..cd4f407b 100644 --- a/org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java +++ b/org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java @@ -750,9 +750,6 @@ public class PipeControlPoint extends G3DNode implements IP3DNode { if (pcp.isDualSub()) { pcp.getParentPoint().setNext(this); } - if (isDualInline()) { - getDualSub().setPrevious(this); - } } else { // if direction is previous, user must have given sizechange if (pcp.isDualSub())