[PD] make constraints static class member
the MSVC IDE warned me about different floatAngle definitions in PD
This commit is contained in:
@@ -48,8 +48,8 @@ namespace PartDesign {
|
||||
|
||||
PROPERTY_SOURCE(PartDesign::PolarPattern, PartDesign::Transformed)
|
||||
|
||||
const App::PropertyIntegerConstraint::Constraints intOccurrences = { 1, INT_MAX, 1 };
|
||||
const App::PropertyAngle::Constraints floatAngle = { Base::toDegrees<double>(Precision::Angular()), 360.0, 1.0 };
|
||||
const App::PropertyIntegerConstraint::Constraints PolarPattern::intOccurrences = { 1, INT_MAX, 1 };
|
||||
const App::PropertyAngle::Constraints PolarPattern::floatAngle = { Base::toDegrees<double>(Precision::Angular()), 360.0, 1.0 };
|
||||
|
||||
PolarPattern::PolarPattern()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user