]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Delete workaround for bugs ## 1988, 1987, 1986, 1938
authorvsv <vitaly.smetannikov@opencascade.com>
Tue, 24 Jan 2017 10:10:45 +0000 (13:10 +0300)
committervsv <vitaly.smetannikov@opencascade.com>
Tue, 24 Jan 2017 10:11:00 +0000 (13:11 +0300)
src/XGUI/XGUI_Selection.cpp

index 36849ab9eb47bbb99184d0d0edfc513b1bf78fae..bccb7ddcf003b398acaac8434538aa8f171c4782 100644 (file)
@@ -233,13 +233,6 @@ QList<ModuleBase_ViewerPrsPtr> 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;