diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2018-12-17 14:26:14 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2018-12-17 14:42:47 +0300 |
commit | 86e6901662de8165e766e108de8e8edb09303f7a (patch) | |
tree | 8100ba785ede3373defd987b4e0a3b9920fa1fad /release/scripts/presets | |
parent | a84c823b891fcf440e134eb284024ea06aa1a9ff (diff) |
Fix T59172: Blender 2.7x keymap error when setting pivot point
- only call pivot/orientation pies in non-legacy mode (had duplicate
entries)
- space_data.pivot_point > tool_settings.transform_pivot_point
Reviewers: brecht
Maniphest Tasks: T59172
Differential Revision: https://developer.blender.org/D4088
Diffstat (limited to 'release/scripts/presets')
-rw-r--r-- | release/scripts/presets/keyconfig/keymap_data/blender_default.py | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/release/scripts/presets/keyconfig/keymap_data/blender_default.py b/release/scripts/presets/keyconfig/keymap_data/blender_default.py index 8c386af57be..77993f0a8db 100644 --- a/release/scripts/presets/keyconfig/keymap_data/blender_default.py +++ b/release/scripts/presets/keyconfig/keymap_data/blender_default.py @@ -1040,8 +1040,6 @@ def km_view3d(params): ("view3d.pastebuffer", {"type": 'V', "value": 'PRESS', "ctrl": True}, None), # Menus. op_menu_pie("VIEW3D_MT_snap_pie", {"type": 'S', "value": 'PRESS', "shift": True}), - op_menu_pie("VIEW3D_MT_pivot_pie", {"type": 'PERIOD', "value": 'PRESS'}), - op_menu_pie("VIEW3D_MT_orientations_pie", {"type": 'COMMA', "value": 'PRESS'}), # Transform. ("transform.translate", {"type": 'G', "value": 'PRESS'}, None), ("transform.translate", {"type": params.select_tweak, "value": 'ANY'}, None), @@ -1119,19 +1117,19 @@ def km_view3d(params): {"properties": [("texture_space", True)]}), # Old pivot. ("wm.context_set_enum", {"type": 'COMMA', "value": 'PRESS'}, - {"properties": [("data_path", 'space_data.pivot_point'), ("value", 'BOUNDING_BOX_CENTER')]}), + {"properties": [("data_path", 'tool_settings.transform_pivot_point'), ("value", 'BOUNDING_BOX_CENTER')]}), ("wm.context_set_enum", {"type": 'COMMA', "value": 'PRESS', "ctrl": True}, - {"properties": [("data_path", 'space_data.pivot_point'), ("value", 'MEDIAN_POINT')]}), + {"properties": [("data_path", 'tool_settings.transform_pivot_point'), ("value", 'MEDIAN_POINT')]}), ("wm.context_toggle", {"type": 'COMMA', "value": 'PRESS', "alt": True}, {"properties": [("data_path", 'tool_settings.use_transform_pivot_point_align')]}), ("wm.context_toggle", {"type": 'SPACE', "value": 'PRESS', "ctrl": True}, {"properties": [("data_path", 'space_data.show_gizmo_tool')]}), ("wm.context_set_enum", {"type": 'PERIOD', "value": 'PRESS'}, - {"properties": [("data_path", 'space_data.pivot_point'), ("value", 'CURSOR')]}), + {"properties": [("data_path", 'tool_settings.transform_pivot_point'), ("value", 'CURSOR')]}), ("wm.context_set_enum", {"type": 'PERIOD', "value": 'PRESS', "ctrl": True}, - {"properties": [("data_path", 'space_data.pivot_point'), ("value", 'INDIVIDUAL_ORIGINS')]}), + {"properties": [("data_path", 'tool_settings.transform_pivot_point'), ("value", 'INDIVIDUAL_ORIGINS')]}), ("wm.context_set_enum", {"type": 'PERIOD', "value": 'PRESS', "alt": True}, - {"properties": [("data_path", 'space_data.pivot_point'), ("value", 'ACTIVE_ELEMENT')]}), + {"properties": [("data_path", 'tool_settings.transform_pivot_point'), ("value", 'ACTIVE_ELEMENT')]}), # Old shading. ("wm.context_toggle_enum", {"type": 'Z', "value": 'PRESS'}, {"properties": [("data_path", 'space_data.shading.type'), ("value_1", 'WIREFRAME'), ("value_2", 'SOLID')]}), |