From 8f02cbfeb61688f199c1818f3161dd2cb4efd400 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 8 Feb 2022 12:28:12 +0300 Subject: [PATCH] Remarks - Interactive move node: activate selection of node to move by default - Add node to segment / triangle: move actions to "Add" menu --- src/SMESHGUI/SMESHGUI.cxx | 5 +++-- src/SMESHGUI/SMESHGUI_MakeNodeAtPointDlg.cxx | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) 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: -- 2.39.2