From 01fb3e03d3ed937d90f0f8f19802b0bedf878b9d Mon Sep 17 00:00:00 2001 From: donovaly Date: Wed, 23 Oct 2019 01:35:21 +0200 Subject: [PATCH] add toolbar icon to create mesh from shape In daily work there are 2 main methods to work with meshes: creating one from a shape or importing an existent one. Since the generation from a shape is often needed, add its icon to the default toolbar. --- src/Mod/Mesh/Gui/Workbench.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Mesh/Gui/Workbench.cpp b/src/Mod/Mesh/Gui/Workbench.cpp index b0fc01a795..a10252d5d5 100644 --- a/src/Mod/Mesh/Gui/Workbench.cpp +++ b/src/Mod/Mesh/Gui/Workbench.cpp @@ -238,7 +238,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const Gui::ToolBarItem* root = StdWorkbench::setupToolBars(); Gui::ToolBarItem* mesh = new Gui::ToolBarItem(root); mesh->setCommand("Mesh tools"); - *mesh << "Mesh_Import" << "Mesh_Export" << "Separator" << "Mesh_PolyCut" << "Mesh_VertexCurvature"; + *mesh << "Mesh_Import" << "Mesh_Export" << "Mesh_FromPartShape" << "Separator" << "Mesh_PolyCut" << "Mesh_VertexCurvature"; return root; }