gp modifier hide toggle

1.7.3

- added: show/hide gp modifiers if they are showed in render (in subpanel `Animation Manager`)
This commit is contained in:
Pullusb
2021-10-20 21:17:37 +02:00
parent 4c6bd20b60
commit a0ed941e4b
4 changed files with 44 additions and 3 deletions
+8 -1
View File
@@ -195,7 +195,8 @@ class GPTB_PT_anim_manager(bpy.types.Panel):
ops.skip_gp = True
ops.skip_obj = False
ops.mute = True
## Gps
## GPs
row = col.row(align=True)
row.label(text='Gp anims:')
ops = row.operator('gp.toggle_mute_animation', text = 'ON')#, icon = 'GRAPH'
@@ -207,6 +208,12 @@ class GPTB_PT_anim_manager(bpy.types.Panel):
ops.skip_gp = False
ops.skip_obj = True
ops.mute = True
## GP modifiers
row = col.row(align=True)
row.label(text='Gp modifiers:')
row.operator('gp.toggle_hide_gp_modifier', text = 'ON').show = True
row.operator('gp.toggle_hide_gp_modifier', text = 'OFF').show = False
## This can go in an extra category...
col = layout.column()