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 5,609 Lines • ▼ Show 20 Lines | |||||
| def km_curves(params): | def km_curves(params): | ||||
| items = [] | items = [] | ||||
| keymap = ( | keymap = ( | ||||
| "Curves", | "Curves", | ||||
| {"space_type": 'EMPTY', "region_type": 'WINDOW'}, | {"space_type": 'EMPTY', "region_type": 'WINDOW'}, | ||||
| {"items": items}, | {"items": items}, | ||||
| ) | ) | ||||
| items.extend([ | |||||
| ("curves.set_selection_domain", {"type": 'ONE', "value": 'PRESS'}, {"properties": [("domain", 'POINT')]}), | |||||
| ("curves.set_selection_domain", {"type": 'TWO', "value": 'PRESS'}, {"properties": [("domain", 'CURVE')]}), | |||||
| ("curves.disable_selection", {"type": 'ONE', "value": 'PRESS', "alt": True}, None), | |||||
| ("curves.disable_selection", {"type": 'TWO', "value": 'PRESS', "alt": True}, None), | |||||
| *_template_items_select_actions(params, "curves.select_all"), | |||||
| ]) | |||||
| return keymap | return keymap | ||||
| def km_sculpt_curves(params): | def km_sculpt_curves(params): | ||||
| items = [] | items = [] | ||||
| keymap = ( | keymap = ( | ||||
| "Sculpt Curves", | "Sculpt Curves", | ||||
| {"space_type": 'EMPTY', "region_type": 'WINDOW'}, | {"space_type": 'EMPTY', "region_type": 'WINDOW'}, | ||||
| ▲ Show 20 Lines • Show All 2,611 Lines • Show Last 20 Lines | |||||