]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
TC5.1.3: a shape is shown with edges direction by default in VTK, but shouldn't be
authordmv <dmv@opencascade.com>
Tue, 10 Nov 2009 09:21:25 +0000 (09:21 +0000)
committerdmv <dmv@opencascade.com>
Tue, 10 Nov 2009 09:21:25 +0000 (09:21 +0000)
src/GEOMGUI/GEOM_Displayer.cxx

index e8c6128fc1c7d20d74fdcc80f9b3125855e54763..aca73deaeb00d79c2c69e6ca982d3a7040935754 100644 (file)
@@ -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 );
   }