diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-05-26 13:13:25 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-05-26 13:13:25 +0300 |
commit | 5a1ab3e9aeb310af8ce94af2eba0c648d19937cb (patch) | |
tree | c2031178a3a05f5249fd03e68197b4ee247c2a3d /release/scripts | |
parent | 2dd6d0ce4b6d0b72274234073306982c3122c904 (diff) |
Fix T77067: GPencil Object without materials cannot use Vertex Color mode
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py index ab48cd2ce90..bb67dc085b1 100644 --- a/release/scripts/startup/bl_ui/space_view3d.py +++ b/release/scripts/startup/bl_ui/space_view3d.py @@ -432,7 +432,7 @@ class _draw_tool_settings_context_mode: row.prop(gp_settings, "use_material_pin", text="") - if brush.gpencil_tool in {'DRAW', 'FILL'} and ma: + if brush.gpencil_tool in {'DRAW', 'FILL'}: row.separator(factor=1.0) subrow = row.row(align=True) row.prop_enum(settings, "color_mode", 'MATERIAL', text="", icon='MATERIAL') |