From 02ed04cd3dcf56e5d3ae7059ae1a02008944a101 Mon Sep 17 00:00:00 2001 From: Pullusb Date: Sun, 2 May 2021 16:00:32 +0200 Subject: [PATCH] fix: keyframe jump better behavior (skip_save) --- OP_keyframe_jump.py | 8 +++++--- README.md | 3 ++- __init__.py | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/OP_keyframe_jump.py b/OP_keyframe_jump.py index 9b509bd..bae241c 100644 --- a/OP_keyframe_jump.py +++ b/OP_keyframe_jump.py @@ -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), diff --git a/README.md b/README.md index 881d5fc..2ff790f 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/__init__.py b/__init__.py index 648998a..fd7f683 100644 --- a/__init__.py +++ b/__init__.py @@ -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": "",