Part: code formating, white spaces

This commit is contained in:
Bernd Hahnebach 2017-02-17 20:36:11 +01:00 committed by wmayer
parent 54bbd79b03
commit 4169e94b69
2 changed files with 3 additions and 3 deletions

View File

@ -133,7 +133,7 @@ Gui::ToolBarItem* Workbench::setupToolBars() const
*boolop << "Part_Boolean" << "Part_Cut" << "Part_Fuse" << "Part_Common"
<< "Part_CompJoinFeatures" << "Part_CompSplitFeatures" << "Part_CheckGeometry" << "Part_Section"
<< "Part_CrossSections";
Gui::ToolBarItem* measure = new Gui::ToolBarItem(root);
measure->setCommand("Measure");
*measure << "Part_Measure_Linear" << "Part_Measure_Angular" << "Separator" << "Part_Measure_Clear_All" << "Part_Measure_Toggle_All"

View File

@ -1,4 +1,4 @@
# Part gui init module
# Part gui init module
# (c) 2003 Juergen Riegel
#
# Gathering all the information to start FreeCAD
@ -48,7 +48,7 @@ class PartWorkbench ( Workbench ):
try:
Part.BOPTools.addCommands()
except Exception as err:
FreeCAD.Console.PrintError("Features from BOPTools package cannot be loaded. {err}\n".format(err= err.message))
FreeCAD.Console.PrintError("Features from BOPTools package cannot be loaded. {err}\n".format(err= err.message))
def GetClassName(self):
return "PartGui::Workbench"