Salome HOME
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
[modules/smesh.git] / src / OBJECT / SMESH_PreviewActorsCollection.cxx
index 91e38e35418a441c2582cdb2dcce3ffce8a425f7..b905f02367735c39990b15bba42e283c60074996 100644 (file)
@@ -111,7 +111,7 @@ bool SMESH_PreviewActorsCollection::Init( const TopoDS_Shape& theShape, TopAbs_S
         anIO->setEntry( aString.toLatin1().constData() );
 
         // Init Actor
-        anActor->SetVectorMode( true );
+        anActor->SetVectorMode( theType==TopAbs_EDGE );
         anActor->setIO( anIO );
         anActor->SetSelector( mySelector );
         anActor->SetPickable( true );