From 45442a99f6a6554c53a525a9ca9570c14f8eb441 Mon Sep 17 00:00:00 2001 From: eap Date: Thu, 30 May 2013 16:26:56 +0000 Subject: [PATCH] correct orientation is assured by StdMeshers_FaceSide, no need to care more about it --- src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx index 08b0950..0aac90b 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_2D_ONLY.cxx @@ -194,7 +194,7 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh, const bool ignoreMediumNodes = _quadraticMesh; // build viscous layers if required - const TopoDS_Face F = TopoDS::Face( aShape.Oriented( TopAbs_FORWARD )); + const TopoDS_Face F = TopoDS::Face( aShape/*.Oriented( TopAbs_FORWARD )*/); SMESH_ProxyMesh::Ptr proxyMesh = StdMeshers_ViscousLayers2D::Compute( aMesh, F ); if ( !proxyMesh ) return false; @@ -335,7 +335,7 @@ bool NETGENPlugin_NETGEN_2D_ONLY::Compute(SMESH_Mesh& aMesh, } // create faces - bool reverse = ( aShape.Orientation() == TopAbs_REVERSED ); + const bool reverse = false; //( aShape.Orientation() == TopAbs_REVERSED ); int i,j; for ( i = 1; i <= nbFaces ; ++i ) { -- 2.39.2