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:
+8
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user