diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-24 19:22:30 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-24 19:22:30 +0300 |
commit | 7fb0cb2b9320a1751779b5906c68a7cffdbcd71e (patch) | |
tree | bafcac83b277844f1794debefbce57620cda8482 /source/blender/editors/interface/interface_intern.h | |
parent | bdbe95578d54971d9e0c4957bdc3367ebae44363 (diff) |
Cleanup: Remove unecessary storage of search filter in uiBlock
Since the search is applied all in one phase, there is no need to store
a reference to the search filter in every uiBlock. Instead just pass it
as an argument to UI_block_apply_search_filter.
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index 766c8f95565..0c49489ab4e 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -524,12 +524,6 @@ struct uiBlock { */ char display_device[64]; - /** - * Pointer to the space's property search string. - * The block doesn't allocate this or change it. - */ - const char *search_filter; - struct PieMenuData pie_data; }; |