mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-13 18:20:34 +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();
|
||||
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( ... )
|
||||
|
Loading…
Reference in New Issue
Block a user