remove poll on ops Normalize Layers Name
parent
248f686e78
commit
4bf13755eb
|
@ -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_description = "Make the object and layers name lowercase with dashed converted to underscore (without touching layer prefix and suffix)"
|
||||||
bl_options = {"REGISTER", "UNDO"}
|
bl_options = {"REGISTER", "UNDO"}
|
||||||
|
|
||||||
@classmethod
|
# @classmethod
|
||||||
def poll(cls, context):
|
# def poll(cls, context):
|
||||||
return context.object and context.object.type == 'GPENCIL'
|
# return context.object and context.object.type == 'GPENCIL'
|
||||||
|
|
||||||
all_objects : BoolProperty(name='On All Object',
|
all_objects : BoolProperty(name='On All Object',
|
||||||
default=True, description='On All object, else use selected objects') # , options={'SKIP_SAVE'}
|
default=True, description='On All object, else use selected objects') # , options={'SKIP_SAVE'}
|
||||||
|
|
Loading…
Reference in New Issue