From: nds Date: Fri, 24 Jun 2016 14:37:48 +0000 (+0300) Subject: Issue #1598 strange planes in GEOM after Export to GEOM X-Git-Tag: V_2.4.0~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=eda17d584cf1eb6cf7ab22ef46c0d36b4b75b053;p=modules%2Fshaper.git Issue #1598 strange planes in GEOM after Export to GEOM --- 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);