Commit dd4c7545 authored by Alex Diev's avatar Alex Diev Committed by Guenter Schwann
Browse files

IVE: Nested Connections outside Function item

parent d1fddb63
Pipeline #5741 passed with stage
in 12 minutes and 21 seconds
......@@ -42,10 +42,6 @@ static inline QList<QGraphicsItem *> intersectedItems(VEConnectionGraphicsItem *
return true;
}
if (item->parentItem() != connection->parentItem()) {
return true;
}
const auto intersectionPoints =
graphicsviewutils::intersectionPoints(item->sceneBoundingRect(), points);
return intersectionPoints.size() <= 1;
......@@ -482,12 +478,7 @@ void VEConnectionGraphicsItem::onManualMoveFinish(GripPoint *gp, const QPointF &
auto updateEndPointItem = [](VEConnectionEndPointGraphicsItem *endPointItem) {
if (endPointItem) {
endPointItem->instantLayoutUpdate();
// if (endPointItem->entity()->isRequired()) {
layoutInterfaceConnections(endPointItem, LayoutPolicy::Default, CollisionsPolicy::Rebuild, true);
// } else {
// layoutInterfaceConnections(endPointItem, LayoutPolicy::LastSegment,
// CollisionsPolicy::Rebuild, true);
// }
}
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment