separate anim disable for cameras

2.0.1

- added: enable/disable camera animation separately in `animation manager`
  - for cam,disable properties like focal and shift (to be able to work on a fixed cam)
  - camera is not disable using `obj` anymore
This commit is contained in:
Pullusb
2022-06-23 15:43:25 +02:00
parent 7092bbf1be
commit e1681cd6ad
4 changed files with 36 additions and 20 deletions
+22 -14
View File
@@ -190,32 +190,40 @@ class GPTB_PT_anim_manager(Panel):
## Animation enable disable anim (shift click to select) OP_helpers.GPTB_OT_toggle_mute_animation
col.operator('gp.list_disabled_anims')
## Objs ()
## Objs
row = col.row(align=True)
row.label(text='Obj anims:')
ops = row.operator('gp.toggle_mute_animation', text = 'ON')#, icon = 'GRAPH'
ops.skip_gp = True
ops.skip_obj = False
ops = row.operator('gp.toggle_mute_animation', text = 'ON')
ops.mode = 'OBJECT'
ops.mute = False
ops = row.operator('gp.toggle_mute_animation', text = 'OFF')#, icon = 'GRAPH'
ops.skip_gp = True
ops.skip_obj = False
ops = row.operator('gp.toggle_mute_animation', text = 'OFF')
ops.mode = 'OBJECT'
ops.mute = True
## Cams
row = col.row(align=True)
row.label(text='Cam anims:')
ops = row.operator('gp.toggle_mute_animation', text = 'ON')
ops.mode = 'CAMERA'
ops.mute = False
ops = row.operator('gp.toggle_mute_animation', text = 'OFF')
ops.mode = 'CAMERA'
ops.mute = True
## GPs
row = col.row(align=True)
row.label(text='Gp anims:')
ops = row.operator('gp.toggle_mute_animation', text = 'ON')#, icon = 'GRAPH'
ops.skip_gp = False
ops.skip_obj = True
ops = row.operator('gp.toggle_mute_animation', text = 'ON')
ops.mode = 'GPENCIL'
ops.mute = False
ops = row.operator('gp.toggle_mute_animation', text = 'OFF')#, icon = 'GRAPH'
ops.skip_gp = False
ops.skip_obj = True
ops = row.operator('gp.toggle_mute_animation', text = 'OFF')
ops.mode = 'GPENCIL'
ops.mute = True
## GP modifiers
row = col.row(align=True)
row.label(text='Gp modifiers:')