From: nds Date: Fri, 24 Jun 2016 14:42:34 +0000 (+0300) Subject: Issue #1598 strange planes in GEOM after Export to GEOM X-Git-Tag: V_2.4.0~12 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=24bd7e26ba9b75400e8ac4420e991c02fc34a099;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 af9100af9..b9105ef92 100644 --- a/src/XGUI/XGUI_Displayer.cpp +++ b/src/XGUI/XGUI_Displayer.cpp @@ -907,7 +907,7 @@ 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 (!theIO.IsNull() && theIO == getTrihedron()) { if (theMode != AIS_Shape::SelectionType(TopAbs_EDGE) && theMode != AIS_Shape::SelectionType(TopAbs_VERTEX)) return;