From: eap Date: Thu, 30 May 2013 16:35:57 +0000 (+0000) Subject: take care of a correct orientation (attempt No2 ) X-Git-Tag: V7_3_0a1~366 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=65c94961fc7741ab11105fa7ca31beeac77d686b;p=modules%2Fsmesh.git take care of a correct orientation (attempt No2 ) --- diff --git a/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx b/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx index c65131df3..1d3dd8a05 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx @@ -1760,7 +1760,7 @@ bool _ViscousBuilder2D::refine() { // find out orientation of faces to create bool isReverse = - ( _helper.GetSubShapeOri( _mesh->GetShapeToMesh(), _face ) == TopAbs_REVERSED ); + ( _helper.GetSubShapeOri( _mesh->GetShapeToMesh(), _face ) != _face.Orientation() ); // store a proxyMesh in a sub-mesh // make faces on each _PolyLine