Merge pull request #5056 from Roy-043/Draft_fix_wrong_type_for_layer_transparency
Draft: fix wrong type for layer transparency
This commit is contained in:
@@ -73,7 +73,7 @@ class ViewProviderLayer:
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property",
|
||||
"If it is true, the objects contained "
|
||||
"within this layer will adopt "
|
||||
"the line color of the layer")
|
||||
"the shape color of the layer")
|
||||
vobj.addProperty("App::PropertyBool",
|
||||
"OverrideShapeColorChildren",
|
||||
"Layer",
|
||||
@@ -150,7 +150,7 @@ class ViewProviderLayer:
|
||||
_tip = QT_TRANSLATE_NOOP("App::Property",
|
||||
"The transparency of the objects "
|
||||
"contained within this layer")
|
||||
vobj.addProperty("App::PropertyInteger",
|
||||
vobj.addProperty("App::PropertyPercent",
|
||||
"Transparency",
|
||||
"Layer",
|
||||
_tip)
|
||||
|
||||
Reference in New Issue
Block a user