fix: keyframe jump better behavior (skip_save)
parent
801235c760
commit
02ed04cd3d
|
@ -13,10 +13,12 @@ class GPTB_OT_jump_gp_keyframe(bpy.types.Operator):
|
|||
return context.object and context.object.type == 'GPENCIL'
|
||||
|
||||
next : BoolProperty(
|
||||
name="Next GP keyframe", description="Go to next active GP keyframe", default=True)
|
||||
name="Next GP keyframe", description="Go to next active GP keyframe",
|
||||
default=True, options={'HIDDEN', 'SKIP_SAVE'})
|
||||
|
||||
target : EnumProperty(
|
||||
name="Target layer", description="Choose wich layer to evaluate for keyframe change", default='ACTIVE',# options={'ANIMATABLE'}, update=None, get=None, set=None,
|
||||
name="Target layer", description="Choose wich layer to evaluate for keyframe change",
|
||||
default='ACTIVE', options={'HIDDEN', 'SKIP_SAVE'},
|
||||
items=(
|
||||
('ACTIVE', 'Active and selected', 'jump in keyframes of active and other selected layers ', 0),
|
||||
('VISIBLE', 'Visibles layers', 'jump in keyframes of visibles layers', 1),
|
||||
|
@ -25,7 +27,7 @@ class GPTB_OT_jump_gp_keyframe(bpy.types.Operator):
|
|||
|
||||
keyframe_type : EnumProperty(
|
||||
name="Keyframe Filter", description="Only jump to defined keyframe type",
|
||||
default='ALL', options={'HIDDEN'},
|
||||
default='ALL', options={'HIDDEN', 'SKIP_SAVE'},
|
||||
items=(
|
||||
('ALL', 'All', '', 0), # 'KEYFRAME'
|
||||
('KEYFRAME', 'Keyframe', '', 'KEYTYPE_KEYFRAME_VEC', 1),
|
||||
|
|
|
@ -112,7 +112,8 @@ Panel in sidebar : 3D view > sidebar 'N' > Gpencil
|
|||
|
||||
## Changelog:
|
||||
|
||||
1.0.6:
|
||||
|
||||
1.0.7:
|
||||
|
||||
- feat: Keyframe jump filter by type. User can now choose if the shortcut should jump on a specific keyframe type (All by default)
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ bl_info = {
|
|||
"name": "GP toolbox",
|
||||
"description": "Set of tools for Grease Pencil in animation production",
|
||||
"author": "Samuel Bernou",
|
||||
"version": (1, 0, 6),
|
||||
"version": (1, 0, 7),
|
||||
"blender": (2, 91, 0),
|
||||
"location": "sidebar (N menu) > Gpencil > Toolbox / Gpencil properties",
|
||||
"warning": "",
|
||||
|
|
Loading…
Reference in New Issue