From b89dff3c27a5b7a4627c955c7f01c599aca3de1f Mon Sep 17 00:00:00 2001 From: eap Date: Fri, 5 May 2006 08:35:17 +0000 Subject: [PATCH] correct the previous revision --- src/SMESH/SMESH_MeshEditor.cxx | 3 +++ src/SMESH/SMESH_MeshEditor.hxx | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/SMESH/SMESH_MeshEditor.cxx b/src/SMESH/SMESH_MeshEditor.cxx index 6ce462963..2c7a17f7e 100644 --- a/src/SMESH/SMESH_MeshEditor.cxx +++ b/src/SMESH/SMESH_MeshEditor.cxx @@ -2481,6 +2481,9 @@ void SMESH_MeshEditor::Smooth (map & theElems, // move medium nodes of quadratic elements if ( isQuadratic ) { + SMESH_MesherHelper helper( *GetMesh() ); + if ( !face.IsNull() ) + helper.SetSubShape( face ); list< const SMDS_MeshElement* >::iterator elemIt = elemsOnFace.begin(); for ( ; elemIt != elemsOnFace.end(); ++elemIt ) { const SMDS_QuadraticFaceOfNodes* QF = diff --git a/src/SMESH/SMESH_MeshEditor.hxx b/src/SMESH/SMESH_MeshEditor.hxx index 65658bcc4..d09fb2de4 100644 --- a/src/SMESH/SMESH_MeshEditor.hxx +++ b/src/SMESH/SMESH_MeshEditor.hxx @@ -399,8 +399,6 @@ class SMESH_MeshEditor { SMESHDS_Mesh * GetMeshDS() { return myMesh->GetMeshDS(); } - SMESHDS_Mesh * GetMeshDS() { return myMesh->GetMeshDS(); } - SMESH_SequenceOfElemPtr GetLastCreatedNodes() { return myLastCreatedNodes; } SMESH_SequenceOfElemPtr GetLastCreatedElems() { return myLastCreatedElems; } -- 2.39.2