From 6f3c37a3ff83222bf8d2de8a888b63bdfb70c079 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Thu, 23 Jul 2020 11:01:59 -0400 Subject: UI: Move properties tab list creation from RNA to editor This is a change I pulled from the property-search-ui branch, where I have to use the list of tabs to search the inactive tabs and it makes more sense to use the array directly. It is also an improvement to have this fundamental code to the properties editor in the editor code rather than an RNA callback. There are no functional changes. Differential Revision: https://developer.blender.org/D8368 --- source/blender/editors/include/ED_buttons.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/blender/editors/include') diff --git a/source/blender/editors/include/ED_buttons.h b/source/blender/editors/include/ED_buttons.h index 2eaef5e82e0..455eee8580d 100644 --- a/source/blender/editors/include/ED_buttons.h +++ b/source/blender/editors/include/ED_buttons.h @@ -27,6 +27,10 @@ extern "C" { #endif +struct SpaceProperties; + +int ED_buttons_tabs_list(struct SpaceProperties *sbuts, int *context_tabs_array); + #ifdef __cplusplus } #endif -- cgit v1.2.3