From 4bf13755ebf6ed8b0388ec3b048d885409aa5e07 Mon Sep 17 00:00:00 2001 From: pullusb Date: Thu, 28 Mar 2024 10:16:44 +0100 Subject: [PATCH] remove poll on ops Normalize Layers Name --- OP_setup_layers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OP_setup_layers.py b/OP_setup_layers.py index fbe0b11..4affacc 100644 --- a/OP_setup_layers.py +++ b/OP_setup_layers.py @@ -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'}