Fixed automatic update for PathStock.

This commit is contained in:
Markus Lampert
2017-09-04 13:13:58 -07:00
committed by wmayer
parent 9ade411aaa
commit e05442b031

View File

@@ -80,6 +80,10 @@ class StockFromBase:
obj.Shape = Part.makeBox(self.length, self.width, self.height, self.origin)
def onChanged(self, obj, prop):
if prop in ['ExtXneg', 'ExtXpos', 'ExtYneg', 'ExtYpos', 'ExtZneg', 'ExtZpos'] and not 'Restore' in obj.State:
self.execute(obj)
def SetupStockObject(obj, addVPProxy):
if FreeCAD.GuiUp and obj.ViewObject:
if addVPProxy: