remove poll in check layer

main
pullusb 2024-09-04 17:03:33 +02:00
parent 2e9b379144
commit 1121c489a8
1 changed files with 3 additions and 4 deletions

View File

@ -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):