]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Issue #1598 strange planes in GEOM after Export to GEOM
authornds <nds@opencascade.com>
Fri, 24 Jun 2016 14:37:48 +0000 (17:37 +0300)
committernds <nds@opencascade.com>
Fri, 24 Jun 2016 14:42:59 +0000 (17:42 +0300)
src/XGUI/XGUI_Displayer.cpp

index 7e017c7d531d35af7b0fba987d4135102478930d..af9100af9e826e8f5b1d6b2a9d5f4cd3054951f2 100644 (file)
@@ -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);