From: eap Date: Mon, 29 Nov 2010 10:12:42 +0000 (+0000) Subject: 0021087: EDF 1673 GEOM: Start and End length hypotheses don't always match edges... X-Git-Tag: tag_Before_ViscLayers_PrototypeVersion~6 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=b59dc7b336b1ed27676173725b1ccc5a59abccb9 0021087: EDF 1673 GEOM: Start and End length hypotheses don't always match edges orientation Make orientation FORWARD to show direction of 3D curve --- diff --git a/src/OBJECT/SMESH_PreviewActorsCollection.cxx b/src/OBJECT/SMESH_PreviewActorsCollection.cxx index 059edd927..91e38e354 100644 --- a/src/OBJECT/SMESH_PreviewActorsCollection.cxx +++ b/src/OBJECT/SMESH_PreviewActorsCollection.cxx @@ -101,7 +101,7 @@ bool SMESH_PreviewActorsCollection::Init( const TopoDS_Shape& theShape, TopAbs_S int index = myMapOfShapes.FindIndex( exp.Current() ); if ( index && !myMapOfActors.contains( index ) ) { // create actor if the index is present - if ( GEOM_Actor* anActor = createActor( exp.Current() )) { + if ( GEOM_Actor* anActor = createActor( exp.Current().Oriented(TopAbs_FORWARD))) { // Create new entry for actor QString aString = theEntry; aString += QString("_%1").arg( index ); // add index to actor entry