mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-14 04:31:34 +05:00
Fix ConvertToQuadratic() for a mesh without edges
This commit is contained in:
parent
d3af61ce33
commit
c2805b7c74
@ -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) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user