else
aMeshEditor->Translate(anElementsId, aVector, false);
if( !myMesh->_is_nil())
- myMesh->SetParameters(SMESHGUI::JoinObjectParameters(aParameters));
+ myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
break;
case COPY_ELEMS_BUTTON:
if ( makeGroups ) {
aMeshEditor->Translate(anElementsId, aVector, true);
}
if( !myMesh->_is_nil())
- myMesh->SetParameters(SMESHGUI::JoinObjectParameters(aParameters));
+ myMesh->SetParameters( aParameters.join(":").toLatin1().constData() );
break;
case MAKE_MESH_BUTTON:
SMESH::SMESH_Mesh_var mesh;
mesh = aMeshEditor->TranslateMakeMesh(anElementsId, aVector, makeGroups,
LineEditNewMesh->text().toLatin1().data());
if( !mesh->_is_nil())
- mesh->SetParameters(SMESHGUI::JoinObjectParameters(aParameters));
+ mesh->SetParameters( aParameters.join(":").toLatin1().constData() );
}
} catch (...) {
}