mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-01 04:10:33 +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();
|
int totalNbElems = meshDS->NbEdges() + meshDS->NbFaces() + meshDS->NbVolumes();
|
||||||
if ( nbCheckedElems < totalNbElems ) // not all elements are in submeshes
|
if ( nbCheckedElems < totalNbElems ) // not all elements are in submeshes
|
||||||
{
|
{
|
||||||
|
aHelper.SetElementsOnShape(false);
|
||||||
SMESHDS_SubMesh *smDS = 0;
|
SMESHDS_SubMesh *smDS = 0;
|
||||||
SMDS_EdgeIteratorPtr aEdgeItr = meshDS->edgesIterator();
|
SMDS_EdgeIteratorPtr aEdgeItr = meshDS->edgesIterator();
|
||||||
while(aEdgeItr->more())
|
while(aEdgeItr->more())
|
||||||
|
Loading…
Reference in New Issue
Block a user