From: eap Date: Fri, 31 May 2013 11:56:48 +0000 (+0000) Subject: - //_face.Orientation( TopAbs_FORWARD ); X-Git-Tag: V7_3_0a1~363 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ea2fec5674b72d00be4223e625472bc5353fda31;p=modules%2Fsmesh.git - //_face.Orientation( TopAbs_FORWARD ); + _face.Orientation( TopAbs_FORWARD ); // 2D logic works only in this case --- diff --git a/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx b/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx index 1d3dd8a05..858d71f6e 100644 --- a/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx +++ b/src/StdMeshers/StdMeshers_ViscousLayers2D.cxx @@ -497,7 +497,7 @@ _ViscousBuilder2D::_ViscousBuilder2D(SMESH_Mesh& theMesh, _helper.SetSubShape( _face ); _helper.SetElementsOnShape( true ); - //_face.Orientation( TopAbs_FORWARD ); + _face.Orientation( TopAbs_FORWARD ); // 2D logic works only in this case _surface = BRep_Tool::Surface( _face ); if ( _hyp ) @@ -1760,7 +1760,7 @@ bool _ViscousBuilder2D::refine() { // find out orientation of faces to create bool isReverse = - ( _helper.GetSubShapeOri( _mesh->GetShapeToMesh(), _face ) != _face.Orientation() ); + ( _helper.GetSubShapeOri( _mesh->GetShapeToMesh(), _face ) == TopAbs_REVERSED ); // store a proxyMesh in a sub-mesh // make faces on each _PolyLine