gitlab #35
Change-Id: I428a58bf4e817816f2bb02d00186b41fa40a0527
if (currentNext == null && currentPrev == null) {
removeComponent();
pipeRun.remChild(this);
+ checkRemove(pipeRun);
return;
}
if (currentNext != null && currentPrev != null) {
pcp._remove(); // This call will recursively call also this method...
return true;
}
+ } else if (points.size() == 2) {
+
}
return false;
}
pcps.add(points);
PipeControlPoint pcp = points.get(points.size()-1);
if (pcp.getChildPoints().size() > 0) {
- pipeRun = pcp.getChildPoints().get(0).getPipeRun();
+ PipeRun pipeRun2 = pcp.getChildPoints().get(0).getPipeRun();
+ if (pipeRun == pipeRun2)
+ break;
+ else
+ pipeRun = pipeRun2;
} else {
break;
}