mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-15 22:21:28 +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();
|
SMESHDS_Mesh* meshDS = GetMeshDS();
|
||||||
|
|
||||||
SMESH_MesherHelper* aHelper = new SMESH_MesherHelper(*myMesh);
|
SMESH_MesherHelper* aHelper = new SMESH_MesherHelper(*myMesh);
|
||||||
|
aHelper->SetKeyIsQuadratic( true );
|
||||||
const TopoDS_Shape& aShape = meshDS->ShapeToMesh();
|
const TopoDS_Shape& aShape = meshDS->ShapeToMesh();
|
||||||
|
|
||||||
if ( !aShape.IsNull() && GetMesh()->GetSubMeshContaining(aShape) )
|
if ( !aShape.IsNull() && GetMesh()->GetSubMeshContaining(aShape) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user