]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Fix ConvertToQuadratic() for a mesh without edges
authoreap <eap@opencascade.com>
Sat, 6 May 2006 06:57:20 +0000 (06:57 +0000)
committereap <eap@opencascade.com>
Sat, 6 May 2006 06:57:20 +0000 (06:57 +0000)
src/SMESH/SMESH_MeshEditor.cxx

index 301d923ccb3a80d62aeb9fc1b6b2f31f68a83fc0..d54b9a8b4aa5a54fa6cc9dde6113f93edc23a7e9 100644 (file)
@@ -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) )