From 24bd7e26ba9b75400e8ac4420e991c02fc34a099 Mon Sep 17 00:00:00 2001 From: nds Date: Fri, 24 Jun 2016 17:42:34 +0300 Subject: [PATCH] Issue #1598 strange planes in GEOM after Export to GEOM --- src/XGUI/XGUI_Displayer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2