]> gerrit.simantics Code Review - simantics/3d.git/commitdiff
Fix error in inserting dual inline components 01/4101/1
authorReino Ruusu <reino.ruusu@semantum.fi>
Mon, 6 Apr 2020 12:10:44 +0000 (15:10 +0300)
committerReino Ruusu <reino.ruusu@semantum.fi>
Mon, 6 Apr 2020 12:36:27 +0000 (15:36 +0300)
gitlab #114

Change-Id: I454b7bb51c5b1cbdde8169e2556bb1049387349d

org.simantics.plant3d/src/org/simantics/plant3d/scenegraph/controlpoint/PipeControlPoint.java

index 08fa2622311cc3ed915f6c5f004e51f85f3e8a52..0c7e3b26ed4935f297f94c12ab7386a01faaf488 100644 (file)
@@ -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())