From 0876b5d15c13f8bf57574b6dca315569f0e7bab7 Mon Sep 17 00:00:00 2001 From: eap Date: Wed, 29 Sep 2010 07:59:21 +0000 Subject: [PATCH] 0021006: EDF 1546 SMESH : Convert To Quadratic fails - const list* faces = Adaptor.GetTriangles(elem); + const list* faces = Adaptor.GetTriangles(elem); --- src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx index 1d88c14..fb0a1bd 100644 --- a/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx +++ b/src/NETGENPlugin/NETGENPlugin_NETGEN_3D.cxx @@ -235,7 +235,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh, if ( !isTraingle ) { // use adaptor to convert quadrangle face into triangles - const list* faces = Adaptor.GetTriangles(elem); + const list* faces = Adaptor.GetTriangles(elem); if(faces==0) return error( COMPERR_BAD_INPUT_MESH, SMESH_Comment("No triangles in adaptor for element ")<GetID()); @@ -438,7 +438,7 @@ bool NETGENPlugin_NETGEN_3D::Compute(SMESH_Mesh& aMesh, bool isTraingle = ( elem->NbCornerNodes() == 3 ); if ( !isTraingle ) { // using adaptor - const list* faces = Adaptor.GetTriangles(elem); + const list* faces = Adaptor.GetTriangles(elem); if(faces==0) continue; // Issue 0020682. There already can be 3d mesh trias.assign( faces->begin(), faces->end() ); -- 2.39.2