Salome HOME
In Extrusion dialog, the distance was troncated to the lower integer. With a distance...
[modules/smesh.git] / src / SMESHGUI / SMESHGUI_NodesDlg.cxx
index 286d0012eba43858f8dbb42696f46dfb51d41451..c8cec8efc95d7e5d55f6ce04c3f691c129e43286 100644 (file)
@@ -100,8 +100,8 @@ namespace SMESH
     try {
       _PTR(SObject) aSobj = SMESH::FindSObject( theMesh );
       SMESH::SMESH_MeshEditor_var aMeshEditor = theMesh->GetMeshEditor();
-      aNodeId = aMeshEditor->AddNode( x, y, z );
       theMesh->SetParameters( theParameters.join(":").toLatin1().constData() );
+      aNodeId = aMeshEditor->AddNode( x, y, z );
       _PTR(Study) aStudy = GetActiveStudyDocument();
       CORBA::Long anId = aStudy->StudyId();
       if (TVisualObjPtr aVisualObj = SMESH::GetVisualObj( anId, aSobj->GetID().c_str() ) ) {