From: eap Date: Thu, 12 May 2005 08:07:08 +0000 (+0000) Subject: PAL8581. call SmoothParametric[Object]() instead of IsParametric parameter usage X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b6b4412159d082b356c2b50ee8692486c53a4891;p=modules%2Fsmesh.git PAL8581. call SmoothParametric[Object]() instead of IsParametric parameter usage --- diff --git a/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx b/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx index 1d2b909a3..4968001a9 100644 --- a/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_SmoothingDlg.cxx @@ -361,9 +361,12 @@ void SMESHGUI_SmoothingDlg::ClickOnApply() { SMESH::SMESH_MeshEditor_var aMeshEditor = myMesh->GetMeshEditor(); QApplication::setOverrideCursor(Qt::waitCursor); - aResult = aMeshEditor->Smooth(anElementsId.inout(), aNodesId.inout(), - anIterationLimit, aMaxAspectRatio, aMethod, - CheckBoxParametric->isChecked()); + if ( CheckBoxParametric->isChecked() ) + aResult = aMeshEditor->SmoothParametric(anElementsId.inout(), aNodesId.inout(), + anIterationLimit, aMaxAspectRatio, aMethod); + else + aResult = aMeshEditor->Smooth(anElementsId.inout(), aNodesId.inout(), + anIterationLimit, aMaxAspectRatio, aMethod); QApplication::restoreOverrideCursor(); } catch( ... )