[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

@@ -66,6 +66,7 @@ public:
protected:
virtual void handleChangedPropertyType(Base::XMLReader& reader, const char* TypeName, App::Property* prop);
static const App::PropertyIntegerConstraint::Constraints intOccurrences;
};
} //namespace PartDesign