Fix linter warning

This commit is contained in:
Roy-043
2024-09-25 08:45:41 +02:00
committed by Yorik van Havre
parent 4313024162
commit abc95b42ca

View File

@@ -127,8 +127,7 @@ class ShapeString(DraftObject):
return
if obj.String and obj.FontFile:
if obj.Placement:
plm = obj.Placement
plm = obj.Placement
fill = obj.MakeFace
if fill is True:
@@ -190,8 +189,7 @@ class ShapeString(DraftObject):
else:
App.Console.PrintWarning(translate("draft", "ShapeString: string has no wires") + "\n")
if plm:
obj.Placement = plm
obj.Placement = plm
obj.positionBySupport()
self.props_changed_clear()