From a0df1ea4d5918f1d13e23e738a67abe3f086cf7a Mon Sep 17 00:00:00 2001 From: apo Date: Wed, 11 Jan 2006 14:16:56 +0000 Subject: [PATCH] Fix for Bug GVIEW11220 SMESH: add edge/triangle/quadrangle etc - SIGSEGV exception --- src/SVTK/SALOME_Actor.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SVTK/SALOME_Actor.cxx b/src/SVTK/SALOME_Actor.cxx index 59c5eaed3..bf80f1f84 100644 --- a/src/SVTK/SALOME_Actor.cxx +++ b/src/SVTK/SALOME_Actor.cxx @@ -704,7 +704,7 @@ SALOME_Actor myPreHighlightActor->SetVisibility( theVisibility && myIsPreselected ); - if(mySelector.GetPointer()){ + if(mySelector.GetPointer() && hasIO()){ if(mySelector->SelectionMode() != ActorSelection){ int aHasIndex = mySelector->HasIndex( getIO() ); myHighlightActor->SetVisibility( theVisibility && isHighlighted() && aHasIndex); -- 2.39.2