remove poll in check layer
parent
2e9b379144
commit
1121c489a8
|
@ -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):
|
||||
|
||||
|
|
Loading…
Reference in New Issue