diff --git a/src/GEOMGUI/GEOM_Displayer.cxx b/src/GEOMGUI/GEOM_Displayer.cxx index b4f7abfe7..6af5ba4e6 100644 --- a/src/GEOMGUI/GEOM_Displayer.cxx +++ b/src/GEOMGUI/GEOM_Displayer.cxx @@ -1245,15 +1245,13 @@ void GEOM_Displayer::Update( SALOME_VTKPrs* prs ) } } - if ( HasWidth() ) + if ( aGeomGActor ) { - aGeomGActor->SetWidth( GetWidth() ); - } - - - if ( HasIsosWidth() ) - { - aGeomGActor->SetIsosWidth( GetIsosWidth() ); + if ( HasWidth() ) + aGeomGActor->SetWidth( GetWidth() ); + + if ( HasIsosWidth() ) + aGeomGActor->SetIsosWidth( GetIsosWidth() ); } if ( myToActivate )