From fc674fae4e4086364d1ff830bac311305d659e2e Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Tue, 14 May 2019 15:25:40 -0300 Subject: [PATCH] Draft: Small bugfix in bezier curves --- src/Mod/Draft/Draft.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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