From: vsr Date: Thu, 21 Nov 2013 05:16:21 +0000 (+0000) Subject: Fix crash X-Git-Tag: BR_hydro_v_0_3_1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a62dc8982297134dc7a8e460f01420704769195c;p=modules%2Fgui.git Fix crash --- 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();