Blender Git Loki

Git Commits -> Revision 1fa40c9

Revision 1fa40c9 by Hans Goudey (master)
June 29, 2020, 19:00 (GMT)
UI: Add shortcuts for modifier panels

The shortcuts act on the modifier with its panel under the mouse.
The following shortcuts are enabled by default:
- Remove modifier: X, Delete
- Apply modifier: Ctrl A
- Duplicate modifier: Shift D
More shortcuts can be added in the keymap.

Each panel can now store a custom data RNA pointer, and a new
function is added to get the custom data for the panel under the
cursor. This custom data could be used to refactor the "List Panel
System" to generalize it and integrate it further with RNA.

The same functionality will be added in further commits where it
applies to constraints, grease pencil modifiers, and effects.

Differential Revision: https://developer.blender.org/D8031

Commit Details:

Full Hash: 1fa40c9f8a81036476d5051b09ff15e27b628012
Parent Commit: 4f8a881
Lines Changed: +250, -71

12 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+5, -0) (Diff)
/source/blender/blenkernel/intern/screen.c (+17, -9) (Diff)
/source/blender/blenloader/intern/readfile.c (+1, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+6, -1) (Diff)
/source/blender/editors/interface/interface_layout.c (+1, -0) (Diff)
/source/blender/editors/interface/interface_panel.c (+74, -7) (Diff)
/source/blender/editors/interface/interface_templates.c (+46, -12) (Diff)
/source/blender/editors/object/object_data_transfer.c (+1, -1) (Diff)
/source/blender/editors/object/object_intern.h (+3, -1) (Diff)
/source/blender/editors/object/object_modifier.c (+76, -36) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+10, -0) (Diff)
/source/blender/modifiers/intern/MOD_ui_common.c (+10, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021