mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-28 18:30:35 +05:00
0022183: EDF SMESH: Error with ConvertToQuadratic
In ConvertToQuadratic(), not set quadratic elements on shapes when converting linear elements not assigned to any shape
This commit is contained in:
parent
b59de0167b
commit
b017154701
@ -9714,6 +9714,7 @@ void SMESH_MeshEditor::ConvertToQuadratic(const bool theForce3d, const bool theT
|
||||
int totalNbElems = meshDS->NbEdges() + meshDS->NbFaces() + meshDS->NbVolumes();
|
||||
if ( nbCheckedElems < totalNbElems ) // not all elements are in submeshes
|
||||
{
|
||||
aHelper.SetElementsOnShape(false);
|
||||
SMESHDS_SubMesh *smDS = 0;
|
||||
SMDS_EdgeIteratorPtr aEdgeItr = meshDS->edgesIterator();
|
||||
while(aEdgeItr->more())
|
||||
|
Loading…
Reference in New Issue
Block a user