[PD] fix property issues

- Helix: the property Turns has the App::PropertyFloatConstraint thus also the pointer to it must have the same property

- LinearPattern and Helix: make constraints static class member (forgot this in commit 114bdf6b)

- Draft: make the constraint const

- PolarPattern and LinearPattern assure that the header file is loaded at last to avoid potential troubles
This commit is contained in:
donovaly
2021-07-11 01:43:38 +02:00
parent 5cf39c4912
commit 8e3ebc07ed
8 changed files with 13 additions and 10 deletions

View File

@@ -31,8 +31,6 @@
# include <BRepAdaptor_Curve.hxx>
#endif
#include "FeaturePolarPattern.h"
#include "DatumLine.h"
#include <Base/Axis.h>
#include <Base/Exception.h>
@@ -41,6 +39,8 @@
#include <Mod/Part/App/Part2DObject.h>
#include <App/OriginFeature.h>
#include "FeaturePolarPattern.h"
using namespace PartDesign;
namespace PartDesign {