Skip to content

Commit 4749c19

Browse files
committed
Merge branch 'donotcallexecutefromonchange' into all
2 parents c72db7a + b85336a commit 4749c19

6 files changed

+0
-18
lines changed

CurvedArray.py

-2
Original file line numberDiff line numberDiff line change
@@ -208,8 +208,6 @@ def onChanged(self, fp, prop):
208208
if outOfBounds:
209209
FreeCAD.Console.PrintWarning("Some positions are out of bounds, should all be between 0.0 and 1.0, inclusive\n")
210210

211-
self.execute(fp)
212-
213211
#background compatibility
214212
CurvedArrayWorker = CurvedArray
215213

CurvedPathArray.py

-3
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,6 @@ def onChanged(self, fp, prop):
188188
return
189189
CurvedShapes.addObjectProperty(obj,"App::PropertyInteger", "LoftMaxDegree", "CurvedPathArray", "Max Degree for Surface or Solid", init_val=5) # backwards compatibility - this upgrades older documents
190190

191-
if prop in proplist:
192-
self.execute(fp)
193-
194191
#background compatibility
195192
CurvedPathArrayWorker = CurvedPathArray
196193

CurvedSegment.py

-3
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,6 @@ def onChanged(self, fp, prop):
107107
if not hasattr(fp, p):
108108
return
109109
CurvedShapes.addObjectProperty(fp,"App::PropertyInteger", "LoftMaxDegree", "CurvedSegment", "Max Degree for Surface or Solid", init_val=5) # backwards compatibility - this upgrades older documents
110-
if prop in proplist:
111-
self.execute(fp)
112-
113110

114111
def makeRibs(self, fp):
115112
interpolate = False

InterpolatedMiddle.py

-4
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ def onChanged(self, fp, prop):
7575
return
7676
CurvedShapes.addObjectProperty(fp,"App::PropertyInteger", "LoftMaxDegree", "InterpolatedMiddle", "Max Degree for Surface or Solid", init_val=5) # backwards compatibility - this upgrades older documents)
7777

78-
if prop in proplist:
79-
self.execute(fp)
80-
81-
8278
def makeRibs(self, fp):
8379
interpolate = False
8480
if len(fp.Shape1.Shape.Edges) != len(fp.Shape2.Shape.Edges):

NotchConnector.py

-4
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,10 @@ def __init__(self,
3333

3434
def onChanged(self, fp, prop):
3535
proplist = ["Base", "Tools", "CutDirection", "ShiftLength"]
36-
if prop in proplist:
37-
self.execute(fp)
3836

3937
if prop == "CutDepth" and fp.CutDirection != Vector(0.0,0.0,0.0):
4038
cdep = 100 - abs(fp.CutDepth)
4139
fp.CutDirection = fp.CutDirection.normalize() * cdep / 50
42-
self.execute(fp)
43-
4440

4541
def execute(self, fp):
4642
if not fp.Base or not fp.Tools:

SurfaceCut.py

-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@ def makeFace(self, fp):
3737

3838
def onChanged(self, fp, prop):
3939
props = ["Surfaces", "Position", "Normal", "Simplify"]
40-
if prop in props:
41-
self.execute(fp)
4240

4341
if prop == "Face":
4442
if fp.Face == True:

0 commit comments

Comments
 (0)