Salome HOME
0020832: EDF 1359 SMESH : Automatic meshing of boundary layers
authoreap <eap@opencascade.com>
Tue, 18 Jan 2011 10:58:51 +0000 (10:58 +0000)
committereap <eap@opencascade.com>
Tue, 18 Jan 2011 10:58:51 +0000 (10:58 +0000)
  show arrows on EDGE's only

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 );