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

Change-Id: I454b7bb51c5b1cbdde8169e2556bb1049387349d
(cherry picked from commit a745e75910247c95f7a9a5f4cc0598e2ca0cf95e)

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

index 124e54bb15761dc7451c63c5a9a4fd3af70335e5..cd4f407b22b6f65e3e80a91c2bc4cc5fae2df9a6 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())