diff --git a/CurvedArray.py b/CurvedArray.py index e5ffff0..65538d3 100644 --- a/CurvedArray.py +++ b/CurvedArray.py @@ -208,8 +208,6 @@ def onChanged(self, fp, prop): if outOfBounds: FreeCAD.Console.PrintWarning("Some positions are out of bounds, should all be between 0.0 and 1.0, inclusive\n") - self.execute(fp) - #background compatibility CurvedArrayWorker = CurvedArray diff --git a/CurvedPathArray.py b/CurvedPathArray.py index 37c2d3f..d7746aa 100644 --- a/CurvedPathArray.py +++ b/CurvedPathArray.py @@ -188,9 +188,6 @@ def onChanged(self, fp, prop): return CurvedShapes.addObjectProperty(obj,"App::PropertyInteger", "LoftMaxDegree", "CurvedPathArray", "Max Degree for Surface or Solid", init_val=5) # backwards compatibility - this upgrades older documents - if prop in proplist: - self.execute(fp) - #background compatibility CurvedPathArrayWorker = CurvedPathArray diff --git a/CurvedSegment.py b/CurvedSegment.py index 98e9688..f014bf3 100644 --- a/CurvedSegment.py +++ b/CurvedSegment.py @@ -107,9 +107,6 @@ def onChanged(self, fp, prop): if not hasattr(fp, p): return CurvedShapes.addObjectProperty(fp,"App::PropertyInteger", "LoftMaxDegree", "CurvedSegment", "Max Degree for Surface or Solid", init_val=5) # backwards compatibility - this upgrades older documents - if prop in proplist: - self.execute(fp) - def makeRibs(self, fp): interpolate = False diff --git a/InterpolatedMiddle.py b/InterpolatedMiddle.py index b2d34fb..404d34e 100644 --- a/InterpolatedMiddle.py +++ b/InterpolatedMiddle.py @@ -75,10 +75,6 @@ def onChanged(self, fp, prop): return CurvedShapes.addObjectProperty(fp,"App::PropertyInteger", "LoftMaxDegree", "InterpolatedMiddle", "Max Degree for Surface or Solid", init_val=5) # backwards compatibility - this upgrades older documents) - if prop in proplist: - self.execute(fp) - - def makeRibs(self, fp): interpolate = False if len(fp.Shape1.Shape.Edges) != len(fp.Shape2.Shape.Edges): diff --git a/NotchConnector.py b/NotchConnector.py index ec41199..2285b2f 100644 --- a/NotchConnector.py +++ b/NotchConnector.py @@ -33,14 +33,10 @@ def __init__(self, def onChanged(self, fp, prop): proplist = ["Base", "Tools", "CutDirection", "ShiftLength"] - if prop in proplist: - self.execute(fp) if prop == "CutDepth" and fp.CutDirection != Vector(0.0,0.0,0.0): cdep = 100 - abs(fp.CutDepth) fp.CutDirection = fp.CutDirection.normalize() * cdep / 50 - self.execute(fp) - def execute(self, fp): if not fp.Base or not fp.Tools: diff --git a/SurfaceCut.py b/SurfaceCut.py index e476c71..e530c09 100644 --- a/SurfaceCut.py +++ b/SurfaceCut.py @@ -37,8 +37,6 @@ def makeFace(self, fp): def onChanged(self, fp, prop): props = ["Surfaces", "Position", "Normal", "Simplify"] - if prop in props: - self.execute(fp) if prop == "Face": if fp.Face == True: