[TD] fix compilation on MSVC

- CLMODE was used before its declaration, therefore it did not compile
forum thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=70316
This commit is contained in:
Uwe
2022-07-17 00:26:13 +02:00
parent f604c32c4d
commit 22fb8ed337

View File

@@ -170,6 +170,19 @@ class TechDrawExport CenterLine: public Base::Persistence
TYPESYSTEM_HEADER();
public:
enum CLMODE
{
VERTICAL,
HORIZONTAL,
ALIGNED
};
enum CLTYPE
{
FACE,
EDGE,
VERTEX
};
CenterLine();
CenterLine(CenterLine* cl);
//set m_faces after using next 3 ctors
@@ -189,18 +202,6 @@ public:
TechDraw::BaseGeomPtr BaseGeomPtrFromVectors(Base::Vector3d pt1, Base::Vector3d pt2);
enum CLMODE {
VERTICAL,
HORIZONTAL,
ALIGNED
};
enum CLTYPE {
FACE,
EDGE,
VERTEX
};
// Persistence implementer ---------------------
virtual unsigned int getMemSize(void) const;
virtual void Save(Base::Writer &/*writer*/) const;