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,15 +1245,13 @@ void GEOM_Displayer::Update( SALOME_VTKPrs* prs )
}
}
if ( HasWidth() )
if ( aGeomGActor )
{
aGeomGActor->SetWidth( GetWidth() );
}
if ( HasWidth() )
aGeomGActor->SetWidth( GetWidth() );
if ( HasIsosWidth() )
{
aGeomGActor->SetIsosWidth( GetIsosWidth() );
if ( HasIsosWidth() )
aGeomGActor->SetIsosWidth( GetIsosWidth() );
}
if ( myToActivate )