Draft: change 'Filled' to 'Make face' in UI
Fixes #19715. The related parameter has been renamed as well and other references to 'fill mode' have been updated.
This commit is contained in:
@@ -69,7 +69,7 @@ class BezCurve(DraftObject):
|
||||
"The area of this object")
|
||||
obj.addProperty("App::PropertyArea", "Area", "Draft", _tip)
|
||||
|
||||
obj.MakeFace = params.get_param("fillmode")
|
||||
obj.MakeFace = params.get_param("MakeFaceMode")
|
||||
obj.Closed = False
|
||||
obj.Degree = 3
|
||||
obj.Continuity = []
|
||||
|
||||
@@ -56,7 +56,7 @@ class BSpline(DraftObject):
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property", "The area of this object")
|
||||
obj.addProperty("App::PropertyArea","Area", "Draft", _tip)
|
||||
|
||||
obj.MakeFace = params.get_param("fillmode")
|
||||
obj.MakeFace = params.get_param("MakeFaceMode")
|
||||
obj.Closed = False
|
||||
obj.Points = []
|
||||
self.assureProperties(obj)
|
||||
|
||||
@@ -62,7 +62,7 @@ class Circle(DraftObject):
|
||||
obj.addProperty("App::PropertyArea", "Area",
|
||||
"Draft", _tip)
|
||||
|
||||
obj.MakeFace = params.get_param("fillmode")
|
||||
obj.MakeFace = params.get_param("MakeFaceMode")
|
||||
|
||||
def onDocumentRestored(self, obj):
|
||||
super().onDocumentRestored(obj)
|
||||
|
||||
@@ -60,7 +60,7 @@ class Ellipse(DraftObject):
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property","Area of this object")
|
||||
obj.addProperty("App::PropertyArea", "Area","Draft", _tip)
|
||||
|
||||
obj.MakeFace = params.get_param("fillmode")
|
||||
obj.MakeFace = params.get_param("MakeFaceMode")
|
||||
|
||||
def onDocumentRestored(self, obj):
|
||||
super().onDocumentRestored(obj)
|
||||
|
||||
@@ -71,7 +71,7 @@ class Polygon(DraftObject):
|
||||
"The area of this object")
|
||||
obj.addProperty("App::PropertyArea", "Area", "Draft", _tip)
|
||||
|
||||
obj.MakeFace = params.get_param("fillmode")
|
||||
obj.MakeFace = params.get_param("MakeFaceMode")
|
||||
obj.DrawMode = ['inscribed','circumscribed']
|
||||
obj.FacesNumber = 0
|
||||
obj.Radius = 1
|
||||
|
||||
@@ -66,7 +66,7 @@ class Rectangle(DraftObject):
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property", "The area of this object")
|
||||
obj.addProperty("App::PropertyArea", "Area", "Draft", _tip)
|
||||
|
||||
obj.MakeFace = params.get_param("fillmode")
|
||||
obj.MakeFace = params.get_param("MakeFaceMode")
|
||||
obj.Length=1
|
||||
obj.Height=1
|
||||
obj.Rows=1
|
||||
|
||||
@@ -92,7 +92,7 @@ class Wire(DraftObject):
|
||||
"The area of this object")
|
||||
obj.addProperty("App::PropertyArea","Area", "Draft",_tip)
|
||||
|
||||
obj.MakeFace = params.get_param("fillmode")
|
||||
obj.MakeFace = params.get_param("MakeFaceMode")
|
||||
obj.Closed = False
|
||||
|
||||
def onDocumentRestored(self, obj):
|
||||
|
||||
Reference in New Issue
Block a user