diff --git a/src/libs/vlayout/vlayoutpaper.cpp b/src/libs/vlayout/vlayoutpaper.cpp index 6838f972d..c79bf7939 100644 --- a/src/libs/vlayout/vlayoutpaper.cpp +++ b/src/libs/vlayout/vlayoutpaper.cpp @@ -518,7 +518,7 @@ VLayoutPaper::CrossingType VLayoutPaper::Crossing(const VLayoutDetail &detail, c if (type == QLineF::BoundedIntersection) { - if (TrueIntersection(globalEdge, detailEdge, xPoint)) + if (TrueIntersection(GlobalEdge(globalI), detail.Edge(detailI), xPoint)) { return CrossingType::Intersection; }