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 3,863 Lines • ▼ Show 20 Lines | items.extend([ | ||||
| ("wm.context_menu_enum", {"type": 'E', "value": 'PRESS'}, | ("wm.context_menu_enum", {"type": 'E', "value": 'PRESS'}, | ||||
| {"properties": [("data_path", 'tool_settings.vertex_paint.brush.stroke_method')]}), | {"properties": [("data_path", 'tool_settings.vertex_paint.brush.stroke_method')]}), | ||||
| ("wm.context_toggle", {"type": 'M', "value": 'PRESS'}, | ("wm.context_toggle", {"type": 'M', "value": 'PRESS'}, | ||||
| {"properties": [("data_path", 'weight_paint_object.data.use_paint_mask')]}), | {"properties": [("data_path", 'weight_paint_object.data.use_paint_mask')]}), | ||||
| ("wm.context_toggle", {"type": 'V', "value": 'PRESS'}, | ("wm.context_toggle", {"type": 'V', "value": 'PRESS'}, | ||||
| {"properties": [("data_path", 'weight_paint_object.data.use_paint_mask_vertex')]}), | {"properties": [("data_path", 'weight_paint_object.data.use_paint_mask_vertex')]}), | ||||
| ("wm.context_toggle", {"type": 'S', "value": 'PRESS', "shift": True}, | ("wm.context_toggle", {"type": 'S', "value": 'PRESS', "shift": True}, | ||||
| {"properties": [("data_path", 'tool_settings.weight_paint.brush.use_smooth_stroke')]}), | {"properties": [("data_path", 'tool_settings.weight_paint.brush.use_smooth_stroke')]}), | ||||
| op_menu_pie("VIEW3D_MT_wpaint_vgroup_lock_pie", {"type" : 'K', "value": 'PRESS'}), | |||||
| *_template_items_context_panel("VIEW3D_PT_paint_weight_context_menu", params.context_menu_event), | *_template_items_context_panel("VIEW3D_PT_paint_weight_context_menu", params.context_menu_event), | ||||
| ]) | ]) | ||||
| if params.select_mouse == 'LEFTMOUSE': | if params.select_mouse == 'LEFTMOUSE': | ||||
| # Bone selection for combined weight paint + pose mode. | # Bone selection for combined weight paint + pose mode. | ||||
| items.extend([ | items.extend([ | ||||
| ("view3d.select", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None), | ("view3d.select", {"type": 'LEFTMOUSE', "value": 'PRESS', "ctrl": True}, None), | ||||
| ]) | ]) | ||||
| ▲ Show 20 Lines • Show All 2,504 Lines • Show Last 20 Lines | |||||