Fix modifiers access

This commit is contained in:
pullusb
2024-11-27 16:40:31 +01:00
parent f5c20a3499
commit 7430bca02f
4 changed files with 30 additions and 14 deletions
+1 -1
View File
@@ -475,7 +475,7 @@ class GPTB_OT_toggle_hide_gp_modifier(Operator):
for o in pool:
if o.type != 'GREASEPENCIL':
continue
for m in o.modifier:
for m in o.modifiers:
# skip modifier that are not visible in render
if not m.show_render:
continue