Blender Git Commit Log

Git Commits -> Revision d23036e

Revision d23036e by Hans Goudey (property-search-ui-v2)
September 14, 2020, 00:52 (GMT)
Property Search: New implementation for all-tab search

Use a bespoke pass for running property search in a panel region.
While this method results in more code, it doesn't reuse the panel
search, which has a few benefits:
1. It's possible to exit early when a results is found for a tab. Although
this doesn't affect worse case performance, in general it's a benefit.
2. The code for searching all tabs in the properties editor becomes
much simpler.
3. There should be other performance improvements, as the search
code can skip everything not related to search.

This is accomplished by ED_region_panels_layout_ex in area.c, which
was a bit too long of a function anyway.

Commit Details:

Full Hash: d23036e5101eabd5d851a3d6dbaeffec58f631f7
Parent Commit: 98d4da3
Lines Changed: +298, -147

6 Modified Paths:

/source/blender/editors/include/ED_screen.h (+5, -0) (Diff)
/source/blender/editors/include/UI_interface.h (+1, -2) (Diff)
/source/blender/editors/interface/interface.c (+0, -5) (Diff)
/source/blender/editors/interface/interface_layout.c (+4, -2) (Diff)
/source/blender/editors/screen/area.c (+215, -48) (Diff)
/source/blender/editors/space_buttons/space_buttons.c (+73, -90) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021