From: vsr Date: Tue, 8 Feb 2022 09:28:12 +0000 (+0300) Subject: Remarks X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Focc%2F26454;p=modules%2Fsmesh.git Remarks - Interactive move node: activate selection of node to move by default - Add node to segment / triangle: move actions to "Add" menu --- diff --git a/src/SMESHGUI/SMESHGUI.cxx b/src/SMESHGUI/SMESHGUI.cxx index 25b5b8762..7023bf427 100644 --- a/src/SMESHGUI/SMESHGUI.cxx +++ b/src/SMESHGUI/SMESHGUI.cxx @@ -4497,6 +4497,9 @@ void SMESHGUI::initialize( CAM_Application* app ) createMenu( SMESHOp::OpBiQuadraticPentahedron, addId, -1 ); createMenu( SMESHOp::OpQuadraticHexahedron, addId, -1 ); createMenu( SMESHOp::OpTriQuadraticHexahedron, addId, -1 ); + createMenu( separator(), addId, -1 ); + createMenu( SMESHOp::OpSplitEdgeInteract, addId, -1 ); + createMenu( SMESHOp::OpSplitFaceInteract, addId, -1 ); createMenu( SMESHOp::OpRemoveNodes, removeId, -1 ); createMenu( SMESHOp::OpRemoveElements, removeId, -1 ); @@ -4534,8 +4537,6 @@ void SMESHGUI::initialize( CAM_Application* app ) createMenu( SMESHOp::OpCuttingOfQuadrangles, modifyId, -1 ); createMenu( SMESHOp::OpSplitVolumes, modifyId, -1 ); createMenu( SMESHOp::OpSplitBiQuadratic, modifyId, -1 ); - createMenu( SMESHOp::OpSplitEdgeInteract, modifyId, -1 ); - createMenu( SMESHOp::OpSplitFaceInteract, modifyId, -1 ); createMenu( SMESHOp::OpSmoothing, modifyId, -1 ); createMenu( SMESHOp::OpPatternMapping, modifyId, -1 ); diff --git a/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx b/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx index bf33fd2e1..8620d7e93 100644 --- a/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx +++ b/src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx @@ -338,6 +338,7 @@ void SMESHGUI_MakeNodeAtPointDlg::ConstructorsClicked (int constructorId) myCurrentY->SetValue(0); myCurrentZ->SetValue(0); if (!myNodeToMoveGrp->isVisible()) myNodeToMoveGrp->show(); + myIdBtn->setChecked( true ); break; } case SEARCH_MODE: