]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
IPAL21461 TC5.1.3: a shape is shown with edges directions by default in VTK
authordmv <dmv@opencascade.com>
Fri, 6 Nov 2009 13:32:20 +0000 (13:32 +0000)
committerdmv <dmv@opencascade.com>
Fri, 6 Nov 2009 13:32:20 +0000 (13:32 +0000)
src/GEOMGUI/GEOM_Displayer.cxx

index 61b86c34c9bf7d4e840ce0a8b119f7f1f1a74f94..7f778b23e966187ef38ca1bc48325e3b0fa21b6a 100644 (file)
@@ -820,7 +820,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 );
   }