Surface: new icon for existing Surface_CurveOnMesh command

Add this command to the Surface toolbar.
This commit is contained in:
vocx-fc
2020-09-30 19:12:35 -05:00
committed by wmayer
parent 7750c4dfbf
commit e99b46de88
4 changed files with 2228 additions and 14 deletions

View File

@@ -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;
}