From: eap Date: Sat, 6 May 2006 06:57:20 +0000 (+0000) Subject: Fix ConvertToQuadratic() for a mesh without edges X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c2805b7c745f0cf8b902ea2727806e6fc5374d0b;p=modules%2Fsmesh.git Fix ConvertToQuadratic() for a mesh without edges --- diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 301d923cc..d54b9a8b4 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -6163,6 +6163,7 @@ void SMESH_MeshEditor::ConvertToQuadratic(const bool theForce3d) SMESHDS_Mesh* meshDS = GetMeshDS(); SMESH_MesherHelper* aHelper = new SMESH_MesherHelper(*myMesh); + aHelper->SetKeyIsQuadratic( true ); const TopoDS_Shape& aShape = meshDS->ShapeToMesh(); if ( !aShape.IsNull() && GetMesh()->GetSubMeshContaining(aShape) )