Salome HOME
0020082: EDF 869 GEOM : Edges Orientation indicator/reverse
[modules/geom.git] / src / GEOMGUI / GEOM_Displayer.cxx
index b183b3f53d0c6916cb4bd948b782b0977a1f04cf..f8aaa621b82a81d5ae10cc3cb3e84145ff562a34 100644 (file)
@@ -813,7 +813,8 @@ void GEOM_Displayer::Update( SALOME_VTKPrs* prs )
   }
   else
   {
-    bool isVector = (myType == GEOM_VECTOR);
+    bool isVector;
+    if (myType == GEOM_VECTOR) isVector = true;
     theActors = GEOM_AssemblyBuilder::BuildActors( myShape, 0, 0, Standard_True, isVector );
   }