From 4ff9b768dd244a68c358e7e0b161c83567375982 Mon Sep 17 00:00:00 2001 From: Yorik van Havre Date: Wed, 5 May 2021 15:41:28 +0200 Subject: [PATCH] Draft: Changed shapestring FillLetters property to MakeFace --- src/Mod/Draft/draftobjects/shapestring.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Mod/Draft/draftobjects/shapestring.py b/src/Mod/Draft/draftobjects/shapestring.py index c150ee36ea..abdb20e833 100644 --- a/src/Mod/Draft/draftobjects/shapestring.py +++ b/src/Mod/Draft/draftobjects/shapestring.py @@ -55,8 +55,8 @@ class ShapeString(DraftObject): _tip = QT_TRANSLATE_NOOP("App::Property", "Inter-character spacing") obj.addProperty("App::PropertyLength", "Tracking", "Draft", _tip) - _tip = QT_TRANSLATE_NOOP("App::Property", "Fill letters") - obj.addProperty("App::PropertyBool", "FillLetters", "Draft", _tip).FillLetters = True + _tip = QT_TRANSLATE_NOOP("App::Property", "Fill letters with faces") + obj.addProperty("App::PropertyBool", "MakeFace", "Draft", _tip).MakeFace = True def execute(self, obj): import Part @@ -95,8 +95,8 @@ class ShapeString(DraftObject): sticky = True fill = True - if hasattr(obj, "FillLetters"): - fill = obj.FillLetters + if hasattr(obj, "MakeFace"): + fill = obj.MakeFace for char in CharList: if sticky or (not fill):