Surface: new icon for existing Surface_CurveOnMesh command
Add this command to the Surface toolbar.
This commit is contained in:
@@ -52,13 +52,14 @@ Gui::MenuItem* Workbench::setupMenuBar() const
|
||||
Gui::MenuItem* surface = new Gui::MenuItem;
|
||||
root->insertItem( item, surface );
|
||||
surface->setCommand("Surface");
|
||||
*surface << "Surface_CurveOnMesh"
|
||||
<< "Surface_ExtendFace"
|
||||
<< "Surface_Filling"
|
||||
*surface << "Surface_Filling"
|
||||
<< "Surface_GeomFillSurface"
|
||||
<< "Surface_Sections";
|
||||
/* *surface << "Surface_Filling";
|
||||
*surface << "Surface_Cut";*/
|
||||
<< "Surface_Sections"
|
||||
<< "Surface_ExtendFace"
|
||||
<< "Surface_CurveOnMesh";
|
||||
/*
|
||||
*surface << "Surface_Cut";
|
||||
*/
|
||||
|
||||
return root;
|
||||
}
|
||||
@@ -68,12 +69,15 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
|
||||
Gui::ToolBarItem* root = StdWorkbench::setupToolBars();
|
||||
|
||||
Gui::ToolBarItem* surface = new Gui::ToolBarItem(root);
|
||||
surface->setCommand( "Surface" );
|
||||
surface->setCommand("Surface");
|
||||
*surface << "Surface_Filling"
|
||||
<< "Surface_GeomFillSurface"
|
||||
<< "Surface_Sections"
|
||||
<< "Surface_ExtendFace";
|
||||
/* *surface << "Surface_Cut"; */
|
||||
<< "Surface_ExtendFace"
|
||||
<< "Surface_CurveOnMesh";
|
||||
/*
|
||||
*surface << "Surface_Cut";
|
||||
*/
|
||||
|
||||
return root;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user