diff --git a/src/Mod/Draft/Draft.py b/src/Mod/Draft/Draft.py index 0f1c0cf1c5..b7c77a25bd 100644 --- a/src/Mod/Draft/Draft.py +++ b/src/Mod/Draft/Draft.py @@ -5355,8 +5355,8 @@ class _BezCurve(_DraftObject): except Part.OCCError: pass fp.Shape = w - if hasattr(obj,"Area") and hasattr(w,"Area"): - obj.Area = w.Area + if hasattr(fp,"Area") and hasattr(w,"Area"): + fp.Area = w.Area fp.Placement = plm @classmethod