diff --git a/src/Mod/Surface/App/FeatureCut.cpp b/src/Mod/Surface/App/FeatureCut.cpp index 5d304e9dc1..6d98598d20 100644 --- a/src/Mod/Surface/App/FeatureCut.cpp +++ b/src/Mod/Surface/App/FeatureCut.cpp @@ -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 diff --git a/src/Mod/Surface/App/FeatureFilling.cpp b/src/Mod/Surface/App/FeatureFilling.cpp index 6f95a571ed..07c031adfa 100644 --- a/src/Mod/Surface/App/FeatureFilling.cpp +++ b/src/Mod/Surface/App/FeatureFilling.cpp @@ -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); diff --git a/src/Mod/Surface/App/FeatureGeomFillSurface.cpp b/src/Mod/Surface/App/FeatureGeomFillSurface.cpp index 6020a40246..a3cde6a462 100644 --- a/src/Mod/Surface/App/FeatureGeomFillSurface.cpp +++ b/src/Mod/Surface/App/FeatureGeomFillSurface.cpp @@ -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); } diff --git a/src/Mod/Surface/App/FeatureSewing.cpp b/src/Mod/Surface/App/FeatureSewing.cpp index 8c51cd2ae4..2ce3470797 100644 --- a/src/Mod/Surface/App/FeatureSewing.cpp +++ b/src/Mod/Surface/App/FeatureSewing.cpp @@ -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