diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-02-24 22:04:02 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-02-24 22:04:10 +0300 |
commit | 66874824e6ee6e77b783b8867d1b584c25160601 (patch) | |
tree | ec53a96b71a0ab9e3437a939376bc04d9a0f4cb5 /release | |
parent | b54b56fcbea62b958dc48441b150aecfb04c8a00 (diff) |
GPencil: Fix missing change material menu using U key
The menu was not activated when vertex mode was enabled.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_grease_pencil_common.py | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py index 8e47b3103cd..0eb5d60457c 100644 --- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py +++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py @@ -328,11 +328,6 @@ class GPENCIL_MT_material_active(Menu): @classmethod def poll(cls, context): ob = context.active_object - tool_settings = context.scene.tool_settings - mode = tool_settings.gpencil_paint.color_mode - if mode != 'MATERIAL': - return False - if ob is None or len(ob.material_slots) == 0: return False |