Cleanup: Remove unused icon keyword argument
This value was never passed in and effectively hardcoded to `'NONE'` Pull Request: https://projects.blender.org/blender/blender/pulls/147093
This commit is contained in:
@@ -262,7 +262,6 @@ class UnifiedPaintPanel:
|
||||
unified_name=None,
|
||||
pressure_name=None,
|
||||
curve_visibility_name=None,
|
||||
icon='NONE',
|
||||
text=None,
|
||||
slider=False,
|
||||
header=False,
|
||||
@@ -282,7 +281,7 @@ class UnifiedPaintPanel:
|
||||
if unified_name and getattr(ups, unified_name):
|
||||
prop_owner = ups
|
||||
|
||||
row.prop(prop_owner, prop_name, icon=icon, text=text, slider=slider)
|
||||
row.prop(prop_owner, prop_name, icon='NONE', text=text, slider=slider)
|
||||
|
||||
if unified_name and not header:
|
||||
# NOTE: We don't draw UnifiedPaintSettings in the header to reduce clutter. D5928#136281
|
||||
|
||||
Reference in New Issue
Block a user