From 0858db04df9e0feb2315a58647f264d78a8822cb Mon Sep 17 00:00:00 2001 From: vsv Date: Tue, 24 Jan 2017 13:10:45 +0300 Subject: [PATCH] Delete workaround for bugs ## 1988, 1987, 1986, 1938 --- src/XGUI/XGUI_Selection.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/XGUI/XGUI_Selection.cpp b/src/XGUI/XGUI_Selection.cpp index 36849ab9e..bccb7ddcf 100644 --- a/src/XGUI/XGUI_Selection.cpp +++ b/src/XGUI/XGUI_Selection.cpp @@ -233,13 +233,6 @@ QList XGUI_Selection::getHighlighted() const XGUI_Displayer* aDisplayer = myWorkshop->displayer(); for (aContext->InitDetected(); aContext->MoreDetected(); aContext->NextDetected()) { Handle(SelectMgr_EntityOwner) anOwner = aContext->DetectedOwner(); - try { - // It is checking of existence of presentation object - // BUG of OCCT - Handle(AIS_InteractiveObject) aTest = aContext->DetectedInteractive(); - } catch (...) { - continue; - } if (!anOwner.IsNull()) { if (aSelectedIds.contains((long)anOwner.get())) continue; -- 2.39.2