fix modifier layer target check
2.1.5 - fixed: false positive with checkfile in modifier layer targetgpv2
parent
5dbd59652e
commit
6506536fb2
|
@ -180,8 +180,8 @@ class GPTB_OT_file_checker(bpy.types.Operator):
|
||||||
for m in o.grease_pencil_modifiers:
|
for m in o.grease_pencil_modifiers:
|
||||||
if not hasattr(m, 'layer'):
|
if not hasattr(m, 'layer'):
|
||||||
continue
|
continue
|
||||||
if not m.layer in lay_name_list:
|
if m.layer != '' and not m.layer in lay_name_list:
|
||||||
mess = f'Broken modifier target: {o.name} > {m.name} > {m.layer}'
|
mess = f'Broken modifier layer target: {o.name} > {m.name} > {m.layer}'
|
||||||
print(mess)
|
print(mess)
|
||||||
problems.append(mess)
|
problems.append(mess)
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,7 @@ bl_info = {
|
||||||
"name": "GP toolbox",
|
"name": "GP toolbox",
|
||||||
"description": "Tool set for Grease Pencil in animation production",
|
"description": "Tool set for Grease Pencil in animation production",
|
||||||
"author": "Samuel Bernou, Christophe Seux",
|
"author": "Samuel Bernou, Christophe Seux",
|
||||||
"version": (2, 1, 4),
|
"version": (2, 1, 5),
|
||||||
"blender": (3, 0, 0),
|
"blender": (3, 0, 0),
|
||||||
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
|
"location": "Sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
|
||||||
"warning": "",
|
"warning": "",
|
||||||
|
|
Loading…
Reference in New Issue