From: imn Date: Tue, 26 Nov 2013 10:15:18 +0000 (+0000) Subject: Integrated to V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create... X-Git-Tag: V7_3_0a1~10 X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=commitdiff_plain;h=33d8a195b4e2343dd7b479a2614d507329dab11b;hp=608b1a194b11996d851d2e889958b83cea173d12;ds=sidebyside Integrated to V7_main: 0022366: EDF SMESH: Create Mesh dialog box improvement: create empty mesh without geometry in GUI --- diff --git a/src/SMESHGUI/SMESHGUI_MeshOp.cxx b/src/SMESHGUI/SMESHGUI_MeshOp.cxx index c9020d81a..96a6c2647 100644 --- a/src/SMESHGUI/SMESHGUI_MeshOp.cxx +++ b/src/SMESHGUI/SMESHGUI_MeshOp.cxx @@ -141,13 +141,6 @@ bool SMESHGUI_MeshOp::onApply() SUIT_MessageBox::warning( myDlg, tr( "SMESH_WRN_WARNING" ), aMess ); return false; } -/* else if ( aMess == tr( "GEOMETRY_OBJECT_IS_NOT_DEFINED" ) || aMess == tr( "GEOMETRY_OBJECT_IS_NULL" ) ) - { - dlg()->show(); - if ( SUIT_MessageBox::warning( myDlg, tr( "SMESH_WRN_WARNING" ), aMess, - SUIT_MessageBox::Yes, SUIT_MessageBox::No ) == SUIT_MessageBox::No ) - return false; - }*/ bool aResult = false; aMess = ""; diff --git a/src/SMESHGUI/SMESH_msg_en.ts b/src/SMESHGUI/SMESH_msg_en.ts index afca8a694..0006aef16 100644 --- a/src/SMESHGUI/SMESH_msg_en.ts +++ b/src/SMESHGUI/SMESH_msg_en.ts @@ -6000,11 +6000,14 @@ Please specify them and try again GEOMETRY_OBJECT_IS_NOT_DEFINED Geometry object is not defined -Please specify it and try again +Do you want to create empty mesh +without algorithm's and hypothesis? GEOMETRY_OBJECT_IS_NULL - Geometry object is null + Geometry object is null +Do you want to create empty mesh +without algorithm's and hypothesis? HYPOTHESES_AND_ALGORITHMS_ARE_NOT_DEFINED diff --git a/src/SMESHGUI/SMESH_msg_fr.ts b/src/SMESHGUI/SMESH_msg_fr.ts index d22cd18f8..55f520f51 100755 --- a/src/SMESHGUI/SMESH_msg_fr.ts +++ b/src/SMESHGUI/SMESH_msg_fr.ts @@ -5993,12 +5993,15 @@ Voulez-vous éditer ce sous-maillage? GEOMETRY_OBJECT_IS_NOT_DEFINED - L'objet géométrique n'est pas défini -Indiquez-le et essayez de nouveau + Geometry object is not defined +Do you want to create empty mesh +without algorithm's and hypothesis? GEOMETRY_OBJECT_IS_NULL - L'objet géométrique est nul + Geometry object is null +Do you want to create empty mesh +without algorithm's and hypothesis? HYPOTHESES_AND_ALGORITHMS_ARE_NOT_DEFINED