]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
take care of a correct orientation (attempt No2 )
authoreap <eap@opencascade.com>
Thu, 30 May 2013 16:35:57 +0000 (16:35 +0000)
committereap <eap@opencascade.com>
Thu, 30 May 2013 16:35:57 +0000 (16:35 +0000)
src/StdMeshers/StdMeshers_ViscousLayers2D.cxx

index c65131df3917b20d339cf418d8af81e9fa100fd9..1d3dd8a05bb226e135b24419eec840f656164245 100644 (file)
@@ -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