diff --git a/OP_setup_layers.py b/OP_setup_layers.py index 417a7ff..20a7b2e 100644 --- a/OP_setup_layers.py +++ b/OP_setup_layers.py @@ -195,10 +195,9 @@ class GPEXP_OT_layers_state(bpy.types.Operator): hide_invisible_materials : BoolProperty(name='Hide Materials named invisible', default=True, description='Hide material with name starting with "invisible"') # , options={'SKIP_SAVE'} - - @classmethod - def poll(cls, context): - return context.object and context.object.type == 'GPENCIL' + # @classmethod + # def poll(cls, context): + # return context.object def invoke(self, context, event):