From 65c94961fc7741ab11105fa7ca31beeac77d686b Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 30 May 2013 16:35:57 +0000 Subject: [PATCH] take care of a correct orientation (attempt No2 ) --- src/StdMeshers/StdMeshers_ViscousLayers2D.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.2