remove poll on ops Normalize Layers Name

main
pullusb 2024-03-28 10:16:44 +01:00
parent 248f686e78
commit 4bf13755eb
1 changed files with 3 additions and 3 deletions

View File

@ -343,9 +343,9 @@ class GPEXP_OT_lower_layers_name(bpy.types.Operator):
bl_description = "Make the object and layers name lowercase with dashed converted to underscore (without touching layer prefix and suffix)"
bl_options = {"REGISTER", "UNDO"}
@classmethod
def poll(cls, context):
return context.object and context.object.type == 'GPENCIL'
# @classmethod
# def poll(cls, context):
# return context.object and context.object.type == 'GPENCIL'
all_objects : BoolProperty(name='On All Object',
default=True, description='On All object, else use selected objects') # , options={'SKIP_SAVE'}