From f0ebddc2ccbad77fa0a785f50d93fb41b1ba6ab0 Mon Sep 17 00:00:00 2001 From: wandererfan Date: Fri, 2 Mar 2018 12:57:18 -0500 Subject: [PATCH] Fix painting of detail highlight - painting of the detail highlight in the base view was being delayed until the base view was updated. It is now drawn when detail changes. --- src/Mod/TechDraw/App/DrawViewDetail.cpp | 3 ++- src/Mod/TechDraw/Gui/QGIMatting.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Mod/TechDraw/App/DrawViewDetail.cpp b/src/Mod/TechDraw/App/DrawViewDetail.cpp index c6ab41617f..98407fbe45 100644 --- a/src/Mod/TechDraw/App/DrawViewDetail.cpp +++ b/src/Mod/TechDraw/App/DrawViewDetail.cpp @@ -103,7 +103,7 @@ DrawViewDetail::DrawViewDetail() ADD_PROPERTY_TYPE(Reference ,("1"),dgroup,App::Prop_None,"An identifier for this detail"); getParameters(); - m_fudge = 1.1; + m_fudge = 1.01; } DrawViewDetail::~DrawViewDetail() @@ -274,6 +274,7 @@ App::DocumentObjectExecReturn *DrawViewDetail::execute(void) } requestPaint(); + dvp->requestPaint(); return App::DocumentObject::StdReturn; } diff --git a/src/Mod/TechDraw/Gui/QGIMatting.cpp b/src/Mod/TechDraw/Gui/QGIMatting.cpp index d6502b31df..ed0c39849e 100644 --- a/src/Mod/TechDraw/Gui/QGIMatting.cpp +++ b/src/Mod/TechDraw/Gui/QGIMatting.cpp @@ -79,7 +79,7 @@ QGIMatting::QGIMatting() : void QGIMatting::draw() { prepareGeometryChange(); - double radiusFudge = 1.15; //keep slightly larger than fudge in App/DVDetail to prevent bleed through + double radiusFudge = 1.1; //keep slightly larger than fudge in App/DVDetail to prevent bleed through double outerRadius = m_radius * radiusFudge; m_width = outerRadius; m_height = outerRadius;