switch the physical Properties to Quantity and add Pressure and Force
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
|
||||
using namespace Part;
|
||||
|
||||
App::PropertyFloatConstraint::Constraints Circle::angleRange = {0.0,360.0,1.0};
|
||||
App::PropertyQuantityConstraint::Constraints Circle::angleRange = {0.0,360.0,1.0};
|
||||
|
||||
PROPERTY_SOURCE(Part::Circle, Part::Primitive)
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
static App::PropertyFloatConstraint::Constraints angleRange;
|
||||
static App::PropertyQuantityConstraint::Constraints angleRange;
|
||||
//@}
|
||||
};
|
||||
|
||||
|
||||
@@ -969,7 +969,7 @@ void Wedge::onChanged(const App::Property* prop)
|
||||
Part::Primitive::onChanged(prop);
|
||||
}
|
||||
|
||||
App::PropertyFloatConstraint::Constraints Ellipse::angleRange = {0.0,360.0,1.0};
|
||||
App::PropertyQuantityConstraint::Constraints Ellipse::angleRange = {0.0,360.0,1.0};
|
||||
|
||||
PROPERTY_SOURCE(Part::Ellipse, Part::Primitive)
|
||||
|
||||
|
||||
@@ -411,7 +411,7 @@ public:
|
||||
//@}
|
||||
|
||||
private:
|
||||
static App::PropertyFloatConstraint::Constraints angleRange;
|
||||
static App::PropertyQuantityConstraint::Constraints angleRange;
|
||||
};
|
||||
|
||||
} //namespace Part
|
||||
|
||||
Reference in New Issue
Block a user