diff --git a/src/Mod/Path/PathScripts/PathAreaOp.py b/src/Mod/Path/PathScripts/PathAreaOp.py index 330104f394..ce12befd6d 100644 --- a/src/Mod/Path/PathScripts/PathAreaOp.py +++ b/src/Mod/Path/PathScripts/PathAreaOp.py @@ -83,6 +83,7 @@ class ObjectOp(PathOp.ObjectOp): if PathOp.FeatureBaseGeometry & self.opFeatures(obj): if prop == 'Base' and len(obj.Base) == 1: + PathLog.info("opOnChanged(%s, %s)" % (obj.Label, prop)) try: (base, sub) = obj.Base[0] bb = base.Shape.BoundBox # parent boundbox @@ -120,6 +121,7 @@ class ObjectOp(PathOp.ObjectOp): self.areaOpOnChanged(obj, prop) def opSetDefaultValues(self, obj): + PathLog.info("opSetDefaultValues(%s)" % (obj.Label)) if PathOp.FeatureDepths & self.opFeatures(obj): try: shape = self.areaOpShapeForDepths(obj) diff --git a/src/Mod/Path/PathScripts/PathOpGui.py b/src/Mod/Path/PathScripts/PathOpGui.py index dd1a6a349c..30cac5acf9 100644 --- a/src/Mod/Path/PathScripts/PathOpGui.py +++ b/src/Mod/Path/PathScripts/PathOpGui.py @@ -199,6 +199,7 @@ class TaskPanelPage(object): value = FreeCAD.Units.Quantity(widget.text()).Value if getattr(obj, prop) != value: PathLog.debug("updateInputField(%s, %s): %.2f -> %.2f" % (obj.Label, prop, getattr(obj, prop), value)) + setattr(obj, prop, value) class TaskPanelBaseGeometryPage(TaskPanelPage): DataObject = QtCore.Qt.ItemDataRole.UserRole