keyframe jump global UI filter

1.0.8:

- feat: Keyframe jump filter added in UI to change general behavior. Keymap own jump filter can override this new global settings if specified
This commit is contained in:
Pullusb
2021-05-02 23:14:38 +02:00
parent 02ed04cd3d
commit b193c67358
5 changed files with 36 additions and 11 deletions
+12
View File
@@ -4,6 +4,7 @@ from bpy.props import (
BoolProperty,
StringProperty,
FloatProperty,
EnumProperty,
)
from .OP_cursor_snap_canvas import cursor_follow_update
@@ -44,6 +45,17 @@ class GP_PG_ToolsSettings(bpy.types.PropertyGroup) :
name="Render_name", description="Name use for render current",
default="")
keyframe_type : EnumProperty(
name="Keyframe Filter", description="Only jump to defined keyframe type",
default='ALL', options={'HIDDEN', 'SKIP_SAVE'},
items=(
('ALL', 'All', '', 0), # 'KEYFRAME'
('KEYFRAME', 'Keyframe', '', 'KEYTYPE_KEYFRAME_VEC', 1),
('BREAKDOWN', 'Breakdown', '', 'KEYTYPE_BREAKDOWN_VEC', 2),
('MOVING_HOLD', 'Moving Hold', '', 'KEYTYPE_MOVING_HOLD_VEC', 3),
('EXTREME', 'Extreme', '', 'KEYTYPE_EXTREME_VEC', 4),
('JITTER', 'Jitter', '', 'KEYTYPE_JITTER_VEC', 5),
))
"""
reconnect_parent = bpy.props.PointerProperty(type =bpy.types.Object,poll=poll_armature)