From: eap Date: Wed, 29 Sep 2010 07:59:21 +0000 (+0000) Subject: 0021006: EDF 1546 SMESH : Convert To Quadratic fails X-Git-Tag: V5_1_5a1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=0876b5d15c13f8bf57574b6dca315569f0e7bab7;p=plugins%2Fnetgenplugin.git 0021006: EDF 1546 SMESH : Convert To Quadratic fails - const list* faces = Adaptor.GetTriangles(elem); + const list* faces = Adaptor.GetTriangles(elem); --- 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() );