mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-15 18:18:35 +05:00
IPAL21267 SIGSEGV on Show Mesh in VTK viewer in GEOM module. Regress.
This commit is contained in:
parent
885574f81f
commit
32f2ca4bb8
@ -209,7 +209,8 @@ 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);
|
||||||
ret = aGeomActor->GetVectorMode();
|
if ( aGeomActor )
|
||||||
|
ret = aGeomActor->GetVectorMode();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user