From: eap Date: Wed, 15 Jun 2011 11:08:06 +0000 (+0000) Subject: 020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement / note 0011031 X-Git-Tag: V6_3_1rc1~25 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3023dcf2f4e1e63c5befcf485f119b7384f1f286;p=modules%2Fsmesh.git 020749: EDF 1291 SMESH : Create 2D Mesh from 3D improvement / note 0011031 Enable "create 2D mesh on 3D" on groups --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 59ca847cd..ba566cc24 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -3727,8 +3727,9 @@ void SMESHGUI::initialize( CAM_Application* app ) popupMgr()->insert( separator(), -1, 0 ); createPopupItem( 4043, OB, mesh ); // CLEAR_MESH popupMgr()->insert( separator(), -1, 0 ); - createPopupItem( 417, OB, mesh + " " + subMesh ); // convert to quadratic - createPopupItem( 418, OB, mesh/*, "&& " + hasVolumes*/); // create 2D mesh on 3D + createPopupItem( 417, OB, mesh + " " + subMesh ); // convert to quadratic + createPopupItem( 418, OB, mesh + " " + group, // create 2D mesh from 3D + "&& dim>=2"); popupMgr()->insert( separator(), -1, 0 ); QString only_one_non_empty = QString( " && %1=1 && numberOfNodes>0" ).arg( dc );