diff options
author | Hans Goudey <h.goudey@me.com> | 2020-09-14 18:22:56 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2020-09-14 18:22:56 +0300 |
commit | 530183b60a00fc46f6175ae50fa5d3ff19b664c3 (patch) | |
tree | 385366d72c64af4c4544dff3212d2a11b0079ae4 | |
parent | dabed53d12581e689a4139a82b8d2c9c9ccd2466 (diff) |
Property Search: Add explanatory comment
-rw-r--r-- | source/blender/editors/interface/interface_layout.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_layout.c b/source/blender/editors/interface/interface_layout.c index 92c4c6228de..78f2a3ac084 100644 --- a/source/blender/editors/interface/interface_layout.c +++ b/source/blender/editors/interface/interface_layout.c @@ -5139,6 +5139,10 @@ static bool block_search_panel_label_matches(const uiBlock *block) return false; } +/** + * Buttons for search only layouts (closed panel subpanels) have still been added from the + * layout functions, but they need to be hidden. Theoretically they could be removed too. + */ static void layout_free_and_hide_buttons(uiLayout *layout) { LISTBASE_FOREACH_MUTABLE (uiItem *, item, &layout->items) { |