From eda17d584cf1eb6cf7ab22ef46c0d36b4b75b053 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 24 Jun 2016 17:37:48 +0300 Subject: [PATCH] Issue #1598 strange planes in GEOM after Export to GEOM --- src/XGUI/XGUI_Displayer.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/XGUI/XGUI_Displayer.cpp b/src/XGUI/XGUI_Displayer.cpp index 7e017c7d5..af9100af9 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -907,6 +907,11 @@ void XGUI_Displayer::activateAIS(const Handle(AIS_InteractiveObject)& theIO, const int theMode, const bool theUpdateViewer) const { Handle(AIS_InteractiveContext) aContext = myWorkshop->viewer()->AISContext(); + if (theIO == getTrihedron()) { + if (theMode != AIS_Shape::SelectionType(TopAbs_EDGE) && + theMode != AIS_Shape::SelectionType(TopAbs_VERTEX)) + return; + } if (!aContext.IsNull()) { if (myWorkshop->module()) { int aMode = (theMode > 8)? theMode : AIS_Shape::SelectionType(theMode); -- 2.39.2