set global link scope of surface features
This commit is contained in:
@@ -44,6 +44,7 @@ PROPERTY_SOURCE(Surface::Cut, Part::Feature)
|
||||
Cut::Cut()
|
||||
{
|
||||
ADD_PROPERTY(ShapeList,(0,"TopoDS_Shape"));
|
||||
ShapeList.setScope(App::LinkScope::Global);
|
||||
}
|
||||
|
||||
//Check if any components of the surface have been modified
|
||||
|
||||
@@ -71,6 +71,12 @@ Filling::Filling()
|
||||
ADD_PROPERTY_TYPE(MaximumDegree,(8), "Filling", App::Prop_None, "Maximum curve degree");
|
||||
ADD_PROPERTY_TYPE(MaximumSegments,(9), "Filling", App::Prop_None, "Maximum number of segments");
|
||||
|
||||
BoundaryEdges.setScope(App::LinkScope::Global);
|
||||
UnboundEdges.setScope(App::LinkScope::Global);
|
||||
FreeFaces.setScope(App::LinkScope::Global);
|
||||
Points.setScope(App::LinkScope::Global);
|
||||
InitialFace.setScope(App::LinkScope::Global);
|
||||
|
||||
BoundaryEdges.setSize(0);
|
||||
BoundaryFaces.setSize(0);
|
||||
BoundaryOrder.setSize(0);
|
||||
|
||||
@@ -131,6 +131,7 @@ GeomFillSurface::GeomFillSurface(): Spline()
|
||||
ADD_PROPERTY(FillType, ((long)0));
|
||||
ADD_PROPERTY(BoundaryList, (0, "Dummy"));
|
||||
FillType.setEnums(FillTypeEnums);
|
||||
BoundaryList.setScope(App::LinkScope::Global);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -49,6 +49,8 @@ Sewing::Sewing()
|
||||
ADD_PROPERTY_TYPE(DegenerateShape,(true), "Sewing", App::Prop_None, "Analysis of degenerated shapes");
|
||||
ADD_PROPERTY_TYPE(CutFreeEdges,(true), "Sewing", App::Prop_None, "Cutting of free edges");
|
||||
ADD_PROPERTY_TYPE(Nonmanifold,(false), "Sewing", App::Prop_None, "Non-manifold processing");
|
||||
|
||||
ShapeList.setScope(App::LinkScope::Global);
|
||||
}
|
||||
|
||||
short Sewing::mustExecute() const
|
||||
|
||||
Reference in New Issue
Block a user