From: GĂ©rald NICOLAS Date: Fri, 28 Aug 2020 08:55:33 +0000 (+0200) Subject: Merge branch 'master' into gni/adaptation X-Git-Tag: V9_7_0a1~18^2~59 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=b1ea58215737bb5dd03e12f98a73ba6edd354e93;p=modules%2Fsmesh.git Merge branch 'master' into gni/adaptation --- b1ea58215737bb5dd03e12f98a73ba6edd354e93 diff --cc src/SMESHGUI/SMESHGUI.cxx index 27fe6571b,80211ac67..6ed14a435 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@@ -4758,19 -4704,11 +4758,19 @@@ void SMESHGUI::initialize( CAM_Applicat createPopupItem( SMESHOp::OpEditHypothesis, OB, hypo, "&& isEditableHyp"); createPopupItem( SMESHOp::OpUnassign, OB, hyp_alg ); popupMgr()->insert( separator(), -1, 0 ); - createPopupItem( SMESHOp::OpConvertMeshToQuadratic, OB, mesh_submesh ); + createPopupItem( SMESHOp::OpConvertMeshToQuadratic, OB, mesh_submesh, "&& " + hasElems ); createPopupItem( SMESHOp::OpCreateBoundaryElements, OB, mesh_group, "&& selcount=1 && dim>=2"); - //popupMgr()->insert( separator(), -1, 0 ); + popupMgr()->insert( separator(), -1, 0 ); - //popupMgr()->insert( separator(), -1, 0 ); + // Adaptation - begin + createPopupItem( SMESHOp::OpUniformRefinement, OB, mesh ); + createPopupItem( SMESHOp::OpHONewCase, OB, mesh ); +// createPopupItem( SMESHOp::OpHOCaseFollow, OB, mesh ); +// createPopupItem( SMESHOp::OpHONewIter, OB, mesh ); +// createPopupItem( SMESHOp::OpHOIterCompute, OB, mesh ); +// createPopupItem( SMESHOp::OpHOIterComputePublish, OB, mesh ); + createPopupItem( SMESHOp::OpMGAdapt, OB, mesh ); + // Adaptation - end QString only_one_non_empty = QString( " && %1=1 && numberOfNodes>0" ).arg( dc ); QString multiple_non_empty = QString( " && %1>0 && numberOfNodes>0" ).arg( dc );