[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
committed by
WandererFan
parent
a207d11fa4
commit
e92ed45df9
@@ -51,7 +51,7 @@ public:
|
||||
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:
|
||||
@@ -62,7 +62,7 @@ PyObject* initModule()
|
||||
return Base::Interpreter().addModule(new Module);
|
||||
}
|
||||
|
||||
}// namespace MeshPartGui
|
||||
} // namespace MeshPartGui
|
||||
|
||||
|
||||
/* Python entry */
|
||||
|
||||
@@ -169,7 +169,7 @@ private:
|
||||
bool connectEdges;
|
||||
double epsilon;
|
||||
};
|
||||
}// namespace MeshPartGui
|
||||
} // namespace MeshPartGui
|
||||
|
||||
CrossSections::CrossSections(const Base::BoundBox3d& bb, QWidget* parent, Qt::WindowFlags fl)
|
||||
: QDialog(parent, fl)
|
||||
@@ -296,7 +296,7 @@ void CrossSections::apply()
|
||||
bool connectEdges = ui->checkBoxConnect->isChecked();
|
||||
double eps = ui->spinEpsilon->value();
|
||||
|
||||
#if 1// multi-threaded sections
|
||||
#if 1 // multi-threaded sections
|
||||
for (auto it : obj) {
|
||||
const Mesh::MeshObject& mesh = static_cast<Mesh::Feature*>(it)->Mesh.getValue();
|
||||
|
||||
|
||||
@@ -110,6 +110,6 @@ private:
|
||||
Gui::TaskView::TaskBox* taskbox;
|
||||
};
|
||||
|
||||
}// namespace MeshPartGui
|
||||
} // namespace MeshPartGui
|
||||
|
||||
#endif// MESHPARTGUI_CROSSSECTIONS_H
|
||||
#endif // MESHPARTGUI_CROSSSECTIONS_H
|
||||
|
||||
@@ -319,7 +319,7 @@ public:
|
||||
std::list<std::vector<Base::Vector3f>> cutLines;
|
||||
bool wireClosed {false};
|
||||
double distance {1};
|
||||
double cosAngle {0.7071};// 45 degree
|
||||
double cosAngle {0.7071}; // 45 degree
|
||||
bool approximate {true};
|
||||
ViewProviderCurveOnMesh* curve;
|
||||
Gui::ViewProviderDocumentObject* mesh {0};
|
||||
|
||||
@@ -41,7 +41,7 @@ namespace Gui
|
||||
{
|
||||
class View3DInventor;
|
||||
class ViewProvider;
|
||||
}// namespace Gui
|
||||
} // namespace Gui
|
||||
|
||||
namespace MeshPartGui
|
||||
{
|
||||
@@ -102,6 +102,6 @@ private:
|
||||
std::unique_ptr<Private> d_ptr;
|
||||
};
|
||||
|
||||
}// namespace MeshPartGui
|
||||
} // namespace MeshPartGui
|
||||
|
||||
#endif// MESHPARTGUI_CURVEONMESH_H
|
||||
#endif // MESHPARTGUI_CURVEONMESH_H
|
||||
|
||||
@@ -76,6 +76,6 @@
|
||||
#include <Inventor/nodes/SoPointSet.h>
|
||||
#include <Inventor/nodes/SoSeparator.h>
|
||||
|
||||
#endif//_PreComp_
|
||||
#endif //_PreComp_
|
||||
|
||||
#endif// __PRECOMPILED_GUI__
|
||||
#endif // __PRECOMPILED_GUI__
|
||||
|
||||
@@ -83,6 +83,6 @@ private:
|
||||
Gui::TaskView::TaskBox* taskbox;
|
||||
};
|
||||
|
||||
}// namespace MeshPartGui
|
||||
} // namespace MeshPartGui
|
||||
|
||||
#endif// MESHPART_GUI_TASKCURVEONMESH_H
|
||||
#endif // MESHPART_GUI_TASKCURVEONMESH_H
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace App
|
||||
{
|
||||
class Document;
|
||||
class SubObjectT;
|
||||
}// namespace App
|
||||
} // namespace App
|
||||
namespace MeshPartGui
|
||||
{
|
||||
|
||||
@@ -140,6 +140,6 @@ private:
|
||||
Tessellation* widget;
|
||||
};
|
||||
|
||||
}// namespace MeshPartGui
|
||||
} // namespace MeshPartGui
|
||||
|
||||
#endif// MESHPARTGUI_TESSELLATION_H
|
||||
#endif // MESHPARTGUI_TESSELLATION_H
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
using namespace MeshPartGui;
|
||||
|
||||
#if 0// needed for Qt's lupdate utility
|
||||
#if 0 // needed for Qt's lupdate utility
|
||||
qApp->translate("Workbench", "MeshPart");
|
||||
#endif
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@ protected:
|
||||
Gui::ToolBarItem* setupCommandBars() const override;
|
||||
};
|
||||
|
||||
}// namespace MeshPartGui
|
||||
} // namespace MeshPartGui
|
||||
|
||||
|
||||
#endif// MESHPARTGUI_WORKBENCH_H
|
||||
#endif // MESHPARTGUI_WORKBENCH_H
|
||||
|
||||
Reference in New Issue
Block a user