diff --git a/OP_render_pdf.py b/OP_render_pdf.py index c4f33a1..49addfc 100644 --- a/OP_render_pdf.py +++ b/OP_render_pdf.py @@ -219,6 +219,12 @@ class GPEXP_OT_export_as_pdf(bpy.types.Operator): messages.append(mess) continue + if fo_node.mute: + mess = f'Skip {vl_name}: output is muted {fo_node.name}' + print(mess) + messages.append(mess) + continue + # fo_socket.name isn't right idx = [i for i in fo_node.inputs].index(fo_socket) @@ -253,9 +259,9 @@ class GPEXP_OT_export_as_pdf(bpy.types.Operator): # for oviz in obj_vis: # oviz[0].hide_viewport = oviz[1] - - self.report({'INFO'}, f'Done ({time()-t0:.1f}s)') - fn.show_message_box(_message=messages, _title='PDF render report') + print(f'Done ({time()-t0:.1f}s)') + # self.report({'INFO'}, f'Done ({time()-t0:.1f}s)') + fn.show_message_box(_message=messages, _title=f'PDF render report ({time()-t0:.1f}s)') return {"FINISHED"} diff --git a/__init__.py b/__init__.py index 398a2cb..7107122 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": (0, 4, 0), + "version": (0, 4, 1), "blender": (2, 93, 0), "location": "View3D", "warning": "",