From a62dc8982297134dc7a8e460f01420704769195c Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 21 Nov 2013 05:16:21 +0000 Subject: [PATCH] Fix crash --- 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 6a2291996..df43a2cf3 100644 --- a/src/SVTK/SALOME_Actor.cxx +++ b/src/SVTK/SALOME_Actor.cxx @@ -500,7 +500,7 @@ SALOME_Actor SVTK_SelectionEvent* theSelectionEvent, bool theIsHighlight) { - if ( !GetPickable() || !mySelector->IsPreSelectionEnabled() ) + if ( !GetPickable() || !mySelector || !mySelector->IsPreSelectionEnabled() ) return false; vtkRenderer *aRenderer = theInteractorStyle->GetCurrentRenderer(); -- 2.39.2