From: apo Date: Wed, 11 Jan 2006 14:16:56 +0000 (+0000) Subject: Fix for Bug GVIEW11220 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a0df1ea4d5918f1d13e23e738a67abe3f086cf7a;p=modules%2Fgui.git Fix for Bug GVIEW11220 SMESH: add edge/triangle/quadrangle etc - SIGSEGV exception --- 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);