mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-29 02:40:35 +05:00
PAL13190 (EDF159 SMESH: in Merge Nodes and Merge Elements, visualisze nodes or meshes twice):
union MergeNodes and MergeElements dialogs into 'SMESHGUI_EditMeshDlg' and reconstruct its.
This commit is contained in:
parent
0bef4d9457
commit
3cbe51225b
@ -57,7 +57,6 @@
|
|||||||
#include "SMESHGUI_RotationDlg.h"
|
#include "SMESHGUI_RotationDlg.h"
|
||||||
#include "SMESHGUI_SymmetryDlg.h"
|
#include "SMESHGUI_SymmetryDlg.h"
|
||||||
#include "SMESHGUI_SewingDlg.h"
|
#include "SMESHGUI_SewingDlg.h"
|
||||||
#include "SMESHGUI_MergeNodesDlg.h"
|
|
||||||
#include "SMESHGUI_EditMeshDlg.h"
|
#include "SMESHGUI_EditMeshDlg.h"
|
||||||
#include "SMESHGUI_MeshPatternDlg.h"
|
#include "SMESHGUI_MeshPatternDlg.h"
|
||||||
#include "SMESHGUI_Selection.h"
|
#include "SMESHGUI_Selection.h"
|
||||||
@ -2151,7 +2150,7 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
if(checkLock(aStudy)) break;
|
if(checkLock(aStudy)) break;
|
||||||
if(vtkwnd) {
|
if(vtkwnd) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
new SMESHGUI_MergeNodesDlg( this );
|
new SMESHGUI_EditMeshDlg( this, 0 );
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
SUIT_MessageBox::warn1(desktop(),
|
SUIT_MessageBox::warn1(desktop(),
|
||||||
@ -2160,15 +2159,12 @@ bool SMESHGUI::OnGUIEvent( int theCommandID )
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 4066: // MERGE EQUAL ELEMENTS
|
case 4066: // MERGE EQUAL ELEMENTS
|
||||||
{
|
{
|
||||||
if (checkLock(aStudy)) break;
|
if (checkLock(aStudy)) break;
|
||||||
if (vtkwnd) {
|
if (vtkwnd) {
|
||||||
EmitSignalDeactivateDialog();
|
EmitSignalDeactivateDialog();
|
||||||
new SMESHGUI_EditMeshDlg(this,
|
new SMESHGUI_EditMeshDlg( this, 1 );
|
||||||
"SMESH_MERGE_ELEMENTS_TITLE",
|
|
||||||
"ICON_DLG_MERGE_ELEMENTS",
|
|
||||||
1); // MergeEqualElemets
|
|
||||||
} else {
|
} else {
|
||||||
SUIT_MessageBox::warn1(desktop(),
|
SUIT_MessageBox::warn1(desktop(),
|
||||||
tr("SMESH_WRN_WARNING"), tr("SMESH_WRN_VIEWER_VTK"),
|
tr("SMESH_WRN_WARNING"), tr("SMESH_WRN_VIEWER_VTK"),
|
||||||
|
Loading…
Reference in New Issue
Block a user