Bug IPAL22912: TC6.5.0: Create Local coordinate system in VTK view - Segmentation violation

This commit is contained in:
ouv 2012-04-17 11:56:46 +00:00
parent 00b7b567c3
commit 756fece661

View File

@ -1245,14 +1245,12 @@ void GEOM_Displayer::Update( SALOME_VTKPrs* prs )
} }
} }
if ( HasWidth() ) if ( aGeomGActor )
{ {
if ( HasWidth() )
aGeomGActor->SetWidth( GetWidth() ); aGeomGActor->SetWidth( GetWidth() );
}
if ( HasIsosWidth() ) if ( HasIsosWidth() )
{
aGeomGActor->SetIsosWidth( GetIsosWidth() ); aGeomGActor->SetIsosWidth( GetIsosWidth() );
} }