From b59dc7b336b1ed27676173725b1ccc5a59abccb9 Mon Sep 17 00:00:00 2001 From: eap Date: Mon, 29 Nov 2010 10:12:42 +0000 Subject: [PATCH] 0021087: EDF 1673 GEOM: Start and End length hypotheses don't always match edges orientation Make orientation FORWARD to show direction of 3D curve --- src/OBJECT/SMESH_PreviewActorsCollection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2