diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e9429c..e9ee4e0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,10 @@ Activate / deactivate layer opaticty according to prefix Activate / deactivate all masks using MA layers --> +0.5.5 + +- ui: add a _total count_ output file to display when output is muted + 0.5.4 - feat: button to popup a floating panel with viewlayer list for easy check/toggle diff --git a/__init__.py b/__init__.py index 2f8e5a8..2ab0547 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, 5, 4), + "version": (0, 5, 5), "blender": (2, 93, 0), "location": "View3D", "warning": "", diff --git a/ui.py b/ui.py index 56474a1..4eb416b 100644 --- a/ui.py +++ b/ui.py @@ -47,7 +47,8 @@ class GPEXP_PT_gp_node_ui(Panel): disabled_output = [n for n in scn.node_tree.nodes if n.type == 'OUTPUT_FILE' and n.mute] if disabled_output: - layout.label(text=f'{len(disabled_output)} Output Muted', icon='INFO') + output_ct = len([n for n in scn.node_tree.nodes if n.type == 'OUTPUT_FILE']) + layout.label(text=f'{len(disabled_output)}/{output_ct} Output Muted', icon='INFO') layout.separator()