Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/presets/keyconfig/keymap_data/blender_default.py
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 1,034 Lines • ▼ Show 20 Lines | items.extend([ | ||||
| # Cameras. | # Cameras. | ||||
| ("view3d.camera_to_view", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True, "alt": True}, None), | ("view3d.camera_to_view", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True, "alt": True}, None), | ||||
| ("view3d.object_as_camera", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True}, None), | ("view3d.object_as_camera", {"type": 'NUMPAD_0', "value": 'PRESS', "ctrl": True}, None), | ||||
| # Copy/paste. | # Copy/paste. | ||||
| ("view3d.copybuffer", {"type": 'C', "value": 'PRESS', "ctrl": True}, None), | ("view3d.copybuffer", {"type": 'C', "value": 'PRESS', "ctrl": True}, None), | ||||
| ("view3d.pastebuffer", {"type": 'V', "value": 'PRESS', "ctrl": True}, None), | ("view3d.pastebuffer", {"type": 'V', "value": 'PRESS', "ctrl": True}, None), | ||||
| # Menus. | # Menus. | ||||
| op_menu_pie("VIEW3D_MT_snap_pie", {"type": 'S', "value": 'PRESS', "shift": True}), | 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. | ||||
| ("transform.translate", {"type": 'G', "value": 'PRESS'}, None), | ("transform.translate", {"type": 'G', "value": 'PRESS'}, None), | ||||
| ("transform.translate", {"type": params.select_tweak, "value": 'ANY'}, None), | ("transform.translate", {"type": params.select_tweak, "value": 'ANY'}, None), | ||||
| ("transform.rotate", {"type": 'R', "value": 'PRESS'}, None), | ("transform.rotate", {"type": 'R', "value": 'PRESS'}, None), | ||||
| ("transform.resize", {"type": 'S', "value": 'PRESS'}, None), | ("transform.resize", {"type": 'S', "value": 'PRESS'}, None), | ||||
| ("transform.bend", {"type": 'W', "value": 'PRESS', "shift": True}, None), | ("transform.bend", {"type": 'W', "value": 'PRESS', "shift": True}, None), | ||||
| ("transform.tosphere", {"type": 'S', "value": 'PRESS', "shift": True, "alt": True}, None), | ("transform.tosphere", {"type": 'S', "value": 'PRESS', "shift": True, "alt": True}, None), | ||||
| ("transform.shear", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None), | ("transform.shear", {"type": 'S', "value": 'PRESS', "shift": True, "ctrl": True, "alt": True}, None), | ||||
| ▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Lines | else: | ||||
| ("transform.create_orientation", {"type": 'SPACE', "value": 'PRESS', "ctrl": True, "alt": True}, | ("transform.create_orientation", {"type": 'SPACE', "value": 'PRESS', "ctrl": True, "alt": True}, | ||||
| {"properties": [("use", True)]}), | {"properties": [("use", True)]}), | ||||
| ("transform.translate", {"type": 'T', "value": 'PRESS', "shift": True}, | ("transform.translate", {"type": 'T', "value": 'PRESS', "shift": True}, | ||||
| {"properties": [("texture_space", True)]}), | {"properties": [("texture_space", True)]}), | ||||
| ("transform.resize", {"type": 'T', "value": 'PRESS', "shift": True, "alt": True}, | ("transform.resize", {"type": 'T', "value": 'PRESS', "shift": True, "alt": True}, | ||||
| {"properties": [("texture_space", True)]}), | {"properties": [("texture_space", True)]}), | ||||
| # Old pivot. | # Old pivot. | ||||
| ("wm.context_set_enum", {"type": 'COMMA', "value": 'PRESS'}, | ("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}, | ("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}, | ("wm.context_toggle", {"type": 'COMMA', "value": 'PRESS', "alt": True}, | ||||
| {"properties": [("data_path", 'tool_settings.use_transform_pivot_point_align')]}), | {"properties": [("data_path", 'tool_settings.use_transform_pivot_point_align')]}), | ||||
| ("wm.context_toggle", {"type": 'SPACE', "value": 'PRESS', "ctrl": True}, | ("wm.context_toggle", {"type": 'SPACE', "value": 'PRESS', "ctrl": True}, | ||||
| {"properties": [("data_path", 'space_data.show_gizmo_tool')]}), | {"properties": [("data_path", 'space_data.show_gizmo_tool')]}), | ||||
| ("wm.context_set_enum", {"type": 'PERIOD', "value": 'PRESS'}, | ("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}, | ("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}, | ("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. | # Old shading. | ||||
| ("wm.context_toggle_enum", {"type": 'Z', "value": 'PRESS'}, | ("wm.context_toggle_enum", {"type": 'Z', "value": 'PRESS'}, | ||||
| {"properties": [("data_path", 'space_data.shading.type'), ("value_1", 'WIREFRAME'), ("value_2", 'SOLID')]}), | {"properties": [("data_path", 'space_data.shading.type'), ("value_1", 'WIREFRAME'), ("value_2", 'SOLID')]}), | ||||
| ("wm.context_toggle_enum", {"type": 'Z', "value": 'PRESS', "shift": True}, | ("wm.context_toggle_enum", {"type": 'Z', "value": 'PRESS', "shift": True}, | ||||
| {"properties": [("data_path", 'space_data.shading.type'), ("value_1", 'RENDERED'), ("value_2", 'SOLID')]}), | {"properties": [("data_path", 'space_data.shading.type'), ("value_1", 'RENDERED'), ("value_2", 'SOLID')]}), | ||||
| ("wm.context_toggle_enum", {"type": 'Z', "value": 'PRESS', "alt": True}, | ("wm.context_toggle_enum", {"type": 'Z', "value": 'PRESS', "alt": True}, | ||||
| {"properties": [("data_path", 'space_data.shading.type'), ("value_1", 'MATERIAL'), ("value_2", 'SOLID')]}), | {"properties": [("data_path", 'space_data.shading.type'), ("value_1", 'MATERIAL'), ("value_2", 'SOLID')]}), | ||||
| ]) | ]) | ||||
| ▲ Show 20 Lines • Show All 4,929 Lines • Show Last 20 Lines | |||||