Blender Git Loki

Git Commits -> Revision db76f34

June 11, 2020, 22:07 (GMT)
UI: Start towards property search in public branch

This is VERY WIP, but I will continue work in this branch. Implementation
starts with a few things:
- A pass at the end of the layout system to scan buttons based on a
search string set by the properties space. Buttons which don't fit
the filter are removed from the layouts.
- A pass after the filter to move buttons that are still in layouts
to a single column "search layout." There is currently a bug with
this that adds too much space in between items.
- An attempt to only show panels that haven't been completely
filtered by the previous two steps. This is quite buggy right now:
panels don't animate properly and sometimes it fails.
- An attempt at a keymap item "ctrl-F" to activate the search button.
"alt-F" should probably clear the button too.

Commit Details:

Full Hash: db76f34ed6dc0d13aa4799d0e7726789ea79c892
Parent Commit: c73ee8d
Lines Changed: +441, -106

15 Modified Paths:

/release/scripts/presets/keyconfig/keymap_data/blender_default.py (+1, -0) (Diff)
/release/scripts/startup/bl_ui/space_properties.py (+11, -1) (Diff)
/source/blender/editors/include/UI_interface.h (+4, -0) (Diff)
/source/blender/editors/interface/interface.c (+15, -6) (Diff)
/source/blender/editors/interface/interface_intern.h (+5, -0) (Diff)
/source/blender/editors/interface/interface_layout.c (+277, -7) (Diff)
/source/blender/editors/interface/interface_panel.c (+61, -3) (Diff)
/source/blender/editors/screen/area.c (+3, -0) (Diff)
/source/blender/editors/space_buttons/buttons_context.c (+21, -68) (Diff)
/source/blender/editors/space_buttons/buttons_intern.h (+1, -4) (Diff)
/source/blender/editors/space_buttons/buttons_ops.c (+25, -0) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+4, -17) (Diff)
/source/blender/makesdna/DNA_screen_types.h (+4, -0) (Diff)
/source/blender/makesdna/DNA_space_types.h (+3, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+6, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021