]> SALOME platform Git repositories - modules/smesh.git/commitdiff
Salome HOME
Improvement 0018239: Add "Create sub-Mesh" to Mesh popup menu
authorvsv <vsv@opencascade.com>
Thu, 13 Nov 2008 15:31:30 +0000 (15:31 +0000)
committervsv <vsv@opencascade.com>
Thu, 13 Nov 2008 15:31:30 +0000 (15:31 +0000)
src/SMESHGUI/SMESHGUI.cxx

index 355f1a9b9428f0cb45ec248fbcfd560e227c5778..5fb5edaa2352645f3338aef6350b438097e3b6e8 100644 (file)
@@ -2928,6 +2928,8 @@ void SMESHGUI::initialize( CAM_Application* app )
   // popup for object browser
 
   createPopupItem( 150, OB, mesh, "&& selcount=1 && isImported" );      // FILE INFORMATION
+  createPopupItem( 703, OB, mesh, "&& isComputable");      // CREATE_SUBMESH
+  createPopupItem( 703, OB, subMesh, "&& isComputable" );  // CREATE_SUBMESH
   createPopupItem( 704, OB, mesh, "&& isComputable");      // EDIT_MESHSUBMESH
   createPopupItem( 704, OB, subMesh, "&& isComputable" );  // EDIT_MESHSUBMESH
   createPopupItem( 803, OB, group );                       // EDIT_GROUP