]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Fix for Bug GVIEW11220
authorapo <apo@opencascade.com>
Wed, 11 Jan 2006 14:16:56 +0000 (14:16 +0000)
committerapo <apo@opencascade.com>
Wed, 11 Jan 2006 14:16:56 +0000 (14:16 +0000)
   SMESH: add edge/triangle/quadrangle etc - SIGSEGV exception

src/SVTK/SALOME_Actor.cxx

index 59c5eaed3ee687b88d1994a27fed348999347de3..bf80f1f843a101800ae6ddbb56d2ee05928041c9 100644 (file)
@@ -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);