diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-04-02 17:27:14 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-04-02 17:48:00 +0300 |
commit | e6c732e0cbe3e9ccb0b279b9e4af68772d7229dc (patch) | |
tree | cbc3d8e1d585ea6adc223c3169313a2ff2266030 /release/scripts/startup | |
parent | 7c88968c8954321f9bc267b83a1d61dcc5483057 (diff) |
GPencil: Cleanup typo error for hardness
The variable cannot be names because it was already renamed.
Diffstat (limited to 'release/scripts/startup')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_data_modifier.py | 4 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_ui/properties_data_modifier.py b/release/scripts/startup/bl_ui/properties_data_modifier.py index cbcd6e2b614..5510941c4a5 100644 --- a/release/scripts/startup/bl_ui/properties_data_modifier.py +++ b/release/scripts/startup/bl_ui/properties_data_modifier.py @@ -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") diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index c612b47895c..27159b6e609 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -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 |