]> 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...
authorvsr <vsr@opencascade.com>
Thu, 12 Nov 2009 13:38:56 +0000 (13:38 +0000)
committervsr <vsr@opencascade.com>
Thu, 12 Nov 2009 13:38:56 +0000 (13:38 +0000)
src/GEOMGUI/GEOM_Displayer.cxx

index aca73deaeb00d79c2c69e6ca982d3a7040935754..57d7252a2cfbdb7a9f830c271b2199476b50695a 100644 (file)
@@ -849,9 +849,7 @@ void GEOM_Displayer::Update( SALOME_VTKPrs* prs )
   }
   else
   {
-    bool isVector = false;
-    if (myType == GEOM_VECTOR) isVector = true;
-    theActors = GEOM_AssemblyBuilder::BuildActors( myShape, 0, 0, Standard_True, isVector );
+    theActors = GEOM_AssemblyBuilder::BuildActors( myShape, 0, 0, Standard_True, myType == GEOM_VECTOR );
   }
 
   theActors->InitTraversal();