Property: dropping isorderrelevant boolean member in favour of bit in the status of the properties
This commit is contained in:
@@ -191,7 +191,7 @@ void PropertyGeometryList::Restore(Base::XMLReader &reader)
|
||||
|
||||
e.ReportException();
|
||||
|
||||
if(isOrderRelevant) {
|
||||
if(isOrderRelevant()) {
|
||||
// Pushes the best try by the Geometry class
|
||||
values.push_back(newG);
|
||||
}
|
||||
|
||||
@@ -104,7 +104,7 @@ SketchObject::SketchObject()
|
||||
ADD_PROPERTY_TYPE(Constraints, (0) ,"Sketch",(App::PropertyType)(App::Prop_None),"Sketch constraints");
|
||||
ADD_PROPERTY_TYPE(ExternalGeometry,(0,0),"Sketch",(App::PropertyType)(App::Prop_None),"Sketch external geometry");
|
||||
|
||||
Geometry.isOrderRelevant = true;
|
||||
Geometry.setOrderRelevant(true);
|
||||
|
||||
allowOtherBody = true;
|
||||
allowUnaligned = true;
|
||||
|
||||
Reference in New Issue
Block a user