fix modifier target check
1.3.3 - fixed: problem evaluating broken modifier targetmain
parent
556f767f3b
commit
3a014e077e
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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": "",
|
||||
|
|
Loading…
Reference in New Issue