From e39164dd0ecc56a720944563e2bf2afaecefb9c7 Mon Sep 17 00:00:00 2001 From: vsr Date: Thu, 12 Nov 2009 13:38:56 +0000 Subject: [PATCH] TC5.1.3: a shape is shown with edges direction by default in VTK, but shouldn't be (additional minor fix) --- src/GEOMGUI/GEOM_Displayer.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/GEOMGUI/GEOM_Displayer.cxx b/src/GEOMGUI/GEOM_Displayer.cxx index aca73deae..57d7252a2 100644 --- a/src/GEOMGUI/GEOM_Displayer.cxx +++ b/src/GEOMGUI/GEOM_Displayer.cxx @@ -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(); -- 2.39.2