diff --git a/src/Mod/TechDraw/App/DrawViewSection.cpp b/src/Mod/TechDraw/App/DrawViewSection.cpp index 339ad2ecc1..3d2bb16efa 100644 --- a/src/Mod/TechDraw/App/DrawViewSection.cpp +++ b/src/Mod/TechDraw/App/DrawViewSection.cpp @@ -699,10 +699,10 @@ std::pair DrawViewSection::sectionLineEnds(void) auto bbx = getBaseDVP()->getBoundingBox(); double xRange = bbx.MaxX - bbx.MinX; - xRange /= getScale(); + xRange /= getBaseDVP()->getScale(); double yRange = bbx.MaxY - bbx.MinY; - yRange /= getScale(); - result = DrawUtil::boxIntersect2d(sOrgOnBase, sLineOnBase, xRange, yRange); + yRange /= getBaseDVP()->getScale(); + result = DrawUtil::boxIntersect2d(sOrgOnBase, sLineOnBase, xRange, yRange); //unscaled return result; }