From: eap Date: Thu, 16 Dec 2010 16:53:07 +0000 (+0000) Subject: 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a46898da2327dda360807182bea4343c5d1c582f;p=modules%2Fsmesh.git 0020832: EDF 1359 SMESH : Automatic meshing of boundary layers show arrows on EDGE's only --- diff --git a/src/OBJECT/SMESH_PreviewActorsCollection.cxx b/src/OBJECT/SMESH_PreviewActorsCollection.cxx index 91e38e354..b905f0236 100644 --- a/src/OBJECT/SMESH_PreviewActorsCollection.cxx +++ b/src/OBJECT/SMESH_PreviewActorsCollection.cxx @@ -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 );