GPencil: Cleanup typo error for hardness
The variable cannot be names because it was already renamed.
This commit is contained in:
@@ -2045,8 +2045,8 @@ class DATA_PT_gpencil_modifiers(ModifierButtonsPanel, Panel):
|
||||
col = split.column()
|
||||
col.prop(md, "modify_color")
|
||||
|
||||
if md.modify_color == 'HARDENESS':
|
||||
col.prop(md, "hardeness")
|
||||
if md.modify_color == 'HARDNESS':
|
||||
col.prop(md, "hardness")
|
||||
show = False
|
||||
else:
|
||||
col.prop(md, "normalize_opacity")
|
||||
|
@@ -1492,7 +1492,7 @@ class VIEW3D_PT_tools_grease_pencil_brush_advanced(View3DPanel, Panel):
|
||||
ma = brush.gpencil_settings.material
|
||||
|
||||
col.separator()
|
||||
col.prop(gp_settings, "hardeness", slider=True)
|
||||
col.prop(gp_settings, "hardness", slider=True)
|
||||
subcol = col.column(align=True)
|
||||
if ma and ma.grease_pencil.mode == 'LINE':
|
||||
subcol.enabled = False
|
||||
|
Reference in New Issue
Block a user