diff --git a/CHANGELOG.md b/CHANGELOG.md index 50f5a17..1df6e48 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,11 @@ if duplicate, need to "connect" with namespace ('_duprender') or something Activate / deactivate layer opacity according to prefix Activate / deactivate all masks using MA layers --> + +1.8.17 + +- changed: in autobuild, skip object that are not visible in scene or with render toggle off + 1.8.16 - fixed: Better reorder socket. Still not perfect, can have bad result if there some unconnected sockets on both sides. diff --git a/OP_auto_build.py b/OP_auto_build.py index ed5b0f3..ecb9db6 100644 --- a/OP_auto_build.py +++ b/OP_auto_build.py @@ -202,8 +202,8 @@ class GPEXP_OT_render_auto_build(bpy.types.Operator): scn.gp_render_settings.node_scene = node_scene.name scn.gp_render_settings.render_scene = render_scn.name - all_gp_objects = [o for o in context.scene.objects if o.type == 'GPENCIL'] - + all_gp_objects = [o for o in context.scene.objects if o.type == 'GPENCIL' and o.visible_get() and not o.hide_render] + ## Exclude Background GP (is_background is a custom property set by the addon "Background Plane Manager") if self.exclude_background_gp: all_gp_objects = [o for o in all_gp_objects if not o.get('is_background')] diff --git a/__init__.py b/__init__.py index f20dbb5..17f7d31 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, 8, 16), + "version": (1, 8, 17), "blender": (3, 0, 0), "location": "View3D", "warning": "",