diff options
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/keyconfig/industry_compatible.py | 52 | ||||
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py | 15 |
2 files changed, 0 insertions, 67 deletions
diff --git a/release/scripts/presets/keyconfig/industry_compatible.py b/release/scripts/presets/keyconfig/industry_compatible.py index a766bb4174a..8ce38d4b40e 100644 --- a/release/scripts/presets/keyconfig/industry_compatible.py +++ b/release/scripts/presets/keyconfig/industry_compatible.py @@ -30,61 +30,9 @@ class IC_KEYMAP_OT_mesh_select_mode(bpy.types.Operator): return{'FINISHED'} -# JKL controls for playback - -class IC_KEYMAP_OT_jkl_controls(bpy.types.Operator): - bl_idname = "ic_keymap.jkl_controls" - bl_label = "jkl Controls" - bl_description = "jkl Controls" - - mode: bpy.props.EnumProperty( - name="JKL Mode", - items=( - ('J', "J", "Play Backwards"), - ('K', "K", "Pause"), - ('L', "L", "Play Forwards"), - ('KJ', "L", "Step Frame Back"), - ('KL', "L", "Step Frame Forward"), - ), - ) - - def execute(self, context): - scr = bpy.context.screen - scops = bpy.ops.screen - - if self.mode == "J": - if scr.is_animation_playing == True: - scops.animation_play() - scops.animation_play(reverse=True) - else: - scops.animation_play(reverse=True) - elif self.mode == "L": - if scr.is_animation_playing == True: - scops.animation_play() - scops.animation_play() - else: - scops.animation_play() - elif self.mode == "K": - if scr.is_animation_playing == True: - scops.animation_play() - elif self.mode == "KJ": - if scr.is_animation_playing == True: - scops.animation_play() - bpy.context.scene.frame_set(bpy.context.scene.frame_current - 1) - elif self.mode == "KL": - if scr.is_animation_playing == True: - scops.animation_play() - bpy.context.scene.frame_set(bpy.context.scene.frame_current + 1) - else: - if scr.is_animation_playing == True: - scops.animation_play() - - return {'FINISHED'} - classes = ( IC_KEYMAP_OT_mesh_select_mode, - IC_KEYMAP_OT_jkl_controls, ) diff --git a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py index cfbb9dea486..db1573f5105 100644 --- a/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py +++ b/release/scripts/presets/keyconfig/keymap_data/industry_compatible_data.py @@ -2624,13 +2624,6 @@ def km_pose(params): ("anim.keyframe_delete_v3d", {"type": 'S', "value": 'PRESS', "alt": True}, None), ("anim.keying_set_active_set", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None), - # JKL - ("ic_keymap.jkl_controls", {"type": 'J', "value": 'PRESS'}, - {"properties": [("mode", 'J')]}), - ("ic_keymap.jkl_controls", {"type": 'L', "value": 'PRESS'}, - {"properties": [("mode", 'L')]}), - ("ic_keymap.jkl_controls", {"type": 'K', "value": 'PRESS'}, - {"properties": [("mode", 'K')]}), op_menu("VIEW3D_MT_pose_context_menu", {"type": 'RIGHTMOUSE', "value": 'PRESS'}), op_menu("VIEW3D_MT_pose_context_menu", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}), # Tools @@ -2700,14 +2693,6 @@ def km_object_mode(params): {"properties": [("type", 'Scaling')]}), ("anim.keyframe_delete_v3d", {"type": 'S', "value": 'PRESS', "alt": True}, None), ("anim.keying_set_active_set", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None), - # JKL - ("ic_keymap.jkl_controls", {"type": 'J', "value": 'PRESS'}, - {"properties": [("mode", 'J')]}), - ("ic_keymap.jkl_controls", {"type": 'L', "value": 'PRESS'}, - {"properties": [("mode", 'L')]}), - ("ic_keymap.jkl_controls", {"type": 'K', "value": 'PRESS'}, - {"properties": [("mode", 'K')]}), - op_menu("VIEW3D_MT_object_context_menu", {"type": 'RIGHTMOUSE', "value": 'PRESS'}), op_menu("VIEW3D_MT_object_context_menu", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}), ("object.move_to_collection", {"type": 'G', "value": 'PRESS', "ctrl": True}, None), |