diff options
Diffstat (limited to 'release/scripts')
-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 |