From aee76d38d792e112ce8465d22312f8a5601d4b0a Mon Sep 17 00:00:00 2001 From: vsv Date: Wed, 6 May 2020 21:47:22 +0300 Subject: [PATCH] bos #19086: Do not clear pre-highlighting on selection of a sketcher object --- src/XGUI/XGUI_Displayer.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index 658743d57..052bdcdf9 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -323,11 +323,11 @@ bool XGUI_Displayer::redisplay(ObjectPtr theObject, bool theUpdateViewer) if (!aResPrs.IsNull()) aResPrs->updateIsoLines(); } - myWorkshop->module()->storeSelection(); + //myWorkshop->module()->storeSelection(); -#ifdef CLEAR_OUTDATED_SELECTION_BEFORE_REDISPLAY - myWorkshop->selector()->deselectPresentation(aAISIO); -#endif +//#ifdef CLEAR_OUTDATED_SELECTION_BEFORE_REDISPLAY + //myWorkshop->selector()->deselectPresentation(aAISIO); +//#endif if (aContext->IsDisplayed(aAISIO)) aContext->Redisplay(aAISIO, false); @@ -339,7 +339,7 @@ bool XGUI_Displayer::redisplay(ObjectPtr theObject, bool theUpdateViewer) #endif //if (aNeedToRestoreSelection) - myWorkshop->module()->restoreSelection(); + //myWorkshop->module()->restoreSelection(); aRedisplayed = true; #ifdef DEBUG_FEATURE_REDISPLAY -- 2.39.2