Skip to content

Commit

Permalink
add toolbar icon to create mesh from shape
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donovaly authored and yorikvanhavre committed Oct 28, 2019
1 parent ccd0c4e commit 01fb3e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mod/Mesh/Gui/Workbench.cpp
Expand Up @@ -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;
}

Expand Down

0 comments on commit 01fb3e0

Please sign in to comment.