mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-15 04:00:37 +05:00
PAL8581. call SmoothParametric[Object]() instead of IsParametric parameter usage
This commit is contained in:
parent
bc108308ca
commit
b6b4412159
@ -361,9 +361,12 @@ void SMESHGUI_SmoothingDlg::ClickOnApply()
|
|||||||
{
|
{
|
||||||
SMESH::SMESH_MeshEditor_var aMeshEditor = myMesh->GetMeshEditor();
|
SMESH::SMESH_MeshEditor_var aMeshEditor = myMesh->GetMeshEditor();
|
||||||
QApplication::setOverrideCursor(Qt::waitCursor);
|
QApplication::setOverrideCursor(Qt::waitCursor);
|
||||||
|
if ( CheckBoxParametric->isChecked() )
|
||||||
|
aResult = aMeshEditor->SmoothParametric(anElementsId.inout(), aNodesId.inout(),
|
||||||
|
anIterationLimit, aMaxAspectRatio, aMethod);
|
||||||
|
else
|
||||||
aResult = aMeshEditor->Smooth(anElementsId.inout(), aNodesId.inout(),
|
aResult = aMeshEditor->Smooth(anElementsId.inout(), aNodesId.inout(),
|
||||||
anIterationLimit, aMaxAspectRatio, aMethod,
|
anIterationLimit, aMaxAspectRatio, aMethod);
|
||||||
CheckBoxParametric->isChecked());
|
|
||||||
QApplication::restoreOverrideCursor();
|
QApplication::restoreOverrideCursor();
|
||||||
}
|
}
|
||||||
catch( ... )
|
catch( ... )
|
||||||
|
Loading…
Reference in New Issue
Block a user