Fix for "16935 [CEA] exception in group creation" issue.

This commit is contained in:
rnv 2019-05-14 14:59:35 +03:00
parent ee3393d541
commit 5410290368

View File

@ -1964,7 +1964,7 @@ void GEOM_Displayer::GlobalSelection( const TColStd_MapOfInteger& theModes,
if ( theModes.Contains( GEOM_ALLOBJECTS ) ) if ( theModes.Contains( GEOM_ALLOBJECTS ) )
return; return;
SUIT_SelectionFilter* aFilter; SUIT_SelectionFilter* aFilter = NULL;
if ( theModes.Extent() > 0 ) if ( theModes.Extent() > 0 )
{ {
TColStd_MapOfInteger aTopAbsModes; TColStd_MapOfInteger aTopAbsModes;