Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2020-05-26 13:13:25 +0300
committerAntonio Vazquez <blendergit@gmail.com>2020-05-26 13:13:25 +0300
commit5a1ab3e9aeb310af8ce94af2eba0c648d19937cb (patch)
treec2031178a3a05f5249fd03e68197b4ee247c2a3d /release
parent2dd6d0ce4b6d0b72274234073306982c3122c904 (diff)
Fix T77067: GPencil Object without materials cannot use Vertex Color mode
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_view3d.py2
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')