From: dmv Date: Tue, 10 Nov 2009 09:21:25 +0000 (+0000) Subject: TC5.1.3: a shape is shown with edges direction by default in VTK, but shouldn't be X-Git-Tag: V5_1_3rc2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=776b61d3bb1c34ec1baca00273c919b7ba957e51;p=modules%2Fgeom.git TC5.1.3: a shape is shown with edges direction by default in VTK, but shouldn't be --- diff --git a/src/GEOMGUI/GEOM_Displayer.cxx b/src/GEOMGUI/GEOM_Displayer.cxx index e8c6128fc..aca73deae 100644 --- a/src/GEOMGUI/GEOM_Displayer.cxx +++ b/src/GEOMGUI/GEOM_Displayer.cxx @@ -849,7 +849,7 @@ void GEOM_Displayer::Update( SALOME_VTKPrs* prs ) } else { - bool isVector; + bool isVector = false; if (myType == GEOM_VECTOR) isVector = true; theActors = GEOM_AssemblyBuilder::BuildActors( myShape, 0, 0, Standard_True, isVector ); }