fix modifier target check

1.3.3

- fixed: problem evaluating broken modifier target
main
pullusb 2023-06-07 11:59:26 +02:00
parent 556f767f3b
commit 3a014e077e
3 changed files with 8 additions and 1 deletions

View File

@ -14,6 +14,10 @@ Activate / deactivate layer opacity according to prefix
Activate / deactivate all masks using MA layers
-->
1.3.3
- fixed: problem evaluating broken modifier target
1.3.2
- fixed: compatibility with blender 3.5 (nodegroup socket API change)

View File

@ -12,10 +12,13 @@ def check_broken_modifier_target(pool=None, reports=None):
for m in o.grease_pencil_modifiers:
if not hasattr(m, 'layer'):
continue
if not m.layer:
continue
if not m.layer in lay_name_list:
reports.append(f'Broken modifier target :{o.name} > {m.name} > {m.layer}')
# else:
# print(f'Modifier target :{o.name} > {m.name} > ok')
return reports

View File

@ -2,7 +2,7 @@ bl_info = {
"name": "GP Render",
"description": "Organise export of gp layers through compositor output",
"author": "Samuel Bernou",
"version": (1, 3, 2),
"version": (1, 3, 3),
"blender": (2, 93, 0),
"location": "View3D",
"warning": "",