From: eap Date: Fri, 5 May 2006 08:35:17 +0000 (+0000) Subject: correct the previous revision X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b89dff3c27a5b7a4627c955c7f01c599aca3de1f;p=modules%2Fsmesh.git correct the previous revision --- 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; }