From 248f686e78b3853fa282abb885bdf4ff09901ed4 Mon Sep 17 00:00:00 2001 From: pullusb Date: Wed, 27 Mar 2024 18:15:17 +0100 Subject: [PATCH] remove poll on autobuild 1.6.3 - changed: remove poll check on autobuild operator --- CHANGELOG.md | 4 ++++ OP_auto_build.py | 6 +++--- __init__.py | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b538ab..143e1d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ Activate / deactivate layer opacity according to prefix Activate / deactivate all masks using MA layers --> +1.6.3 + +- changed: remove poll check on autobuild operator + 1.6.2 - changed: Default fileout format changed from `OPEN_EXR` to `OPEN_EXR_MULTILAYER` (a `FILE_FORMAT` env variable can be set to specify nodes format) diff --git a/OP_auto_build.py b/OP_auto_build.py index e7110e3..56be3dc 100644 --- a/OP_auto_build.py +++ b/OP_auto_build.py @@ -63,9 +63,9 @@ class GPEXP_OT_render_auto_build(bpy.types.Operator): bl_description = "Trigger all operation to make build render scene with default settings" bl_options = {"REGISTER"} - @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' # timer : bpy.props.FloatProperty(default=0.1, options={'SKIP_SAVE'}) diff --git a/__init__.py b/__init__.py index adb81af..0ccfc34 100644 --- a/__init__.py +++ b/__init__.py @@ -2,7 +2,7 @@ bl_info = { "name": "GP Render", "description": "Organise export of gp layers through compositor output", "author": "Samuel Bernou", - "version": (1, 6, 2), + "version": (1, 6, 3), "blender": (3, 0, 0), "location": "View3D", "warning": "",