IPAL21267 SIGSEGV on Show Mesh in VTK viewer in GEOM module. Regress.

This commit is contained in:
dmv 2009-07-24 06:21:53 +00:00
parent 885574f81f
commit 32f2ca4bb8

View File

@ -209,6 +209,7 @@ bool GEOMGUI_Selection::isVectorsMode( const int index ) const
vtkActor* actor = lst->GetNextActor(); vtkActor* actor = lst->GetNextActor();
if ( actor ) { if ( actor ) {
GEOM_Actor* aGeomActor = GEOM_Actor::SafeDownCast(actor); GEOM_Actor* aGeomActor = GEOM_Actor::SafeDownCast(actor);
if ( aGeomActor )
ret = aGeomActor->GetVectorMode(); ret = aGeomActor->GetVectorMode();
} }
} }