From 178af981ba4ccabe1aa3d6d3a4f67a1eb30b3cc5 Mon Sep 17 00:00:00 2001 From: Marko Luukkainen Date: Thu, 28 Nov 2019 17:49:56 +0200 Subject: [PATCH] Remove/Split could go over PipeRun boundary and break reducers. gitlab #33 Change-Id: Ieb76bf130b1baaed040ffff38aa950bc0461d7c9 (cherry picked from commit 81c2595de58576c1d0f8220633557a1c77c623de) --- .../plant3d/scenegraph/controlpoint/PipeControlPoint.java | 2 ++ 1 file changed, 2 insertions(+) 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 eae8ec33..aa5eacf9 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 @@ -1305,6 +1305,8 @@ public class PipeControlPoint extends G3DNode implements IP3DNode { PipelineComponent n = next.getPipelineComponent(); while (n != null) { + if (n.getPipeRun() != previousRun) + break; if (! (n instanceof Nozzle)) { n.deattach(); nextPipeRun.addChild(n); -- 2.47.1