MeshPart: apply clang format
This commit is contained in:
@@ -43,13 +43,15 @@ void loadMeshPartResource()
|
||||
Gui::Translator::instance()->refresh();
|
||||
}
|
||||
|
||||
namespace MeshPartGui {
|
||||
class Module : public Py::ExtensionModule<Module>
|
||||
namespace MeshPartGui
|
||||
{
|
||||
class Module: public Py::ExtensionModule<Module>
|
||||
{
|
||||
public:
|
||||
Module() : Py::ExtensionModule<Module>("MeshPartGui")
|
||||
Module()
|
||||
: Py::ExtensionModule<Module>("MeshPartGui")
|
||||
{
|
||||
initialize("This module is the MeshPartGui module."); // register with Python
|
||||
initialize("This module is the MeshPartGui module.");// register with Python
|
||||
}
|
||||
|
||||
private:
|
||||
@@ -60,7 +62,7 @@ PyObject* initModule()
|
||||
return Base::Interpreter().addModule(new Module);
|
||||
}
|
||||
|
||||
} // namespace MeshPartGui
|
||||
}// namespace MeshPartGui
|
||||
|
||||
|
||||
/* Python entry */
|
||||
@@ -74,12 +76,14 @@ PyMOD_INIT_FUNC(MeshPartGui)
|
||||
PyObject* mod = MeshPartGui::initModule();
|
||||
Base::Console().Log("Loading GUI of MeshPart module... done\n");
|
||||
|
||||
// clang-format off
|
||||
// instantiating the commands
|
||||
CreateMeshPartCommands();
|
||||
MeshPartGui::Workbench ::init();
|
||||
MeshPartGui::ViewProviderCurveOnMesh ::init();
|
||||
// clang-format on
|
||||
|
||||
// add resources and reloads the translators
|
||||
// add resources and reloads the translators
|
||||
loadMeshPartResource();
|
||||
|
||||
PyMOD_Return(mod);
|
||||
|
||||
Reference in New Issue
Block a user