Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2020-09-15 01:36:42 +0300
committerHans Goudey <h.goudey@me.com>2020-09-15 01:36:42 +0300
commite13e8d727a74a90b8d8d5e527c7ee76afe338a4c (patch)
tree19d85eabc8db1698e22e3a6147c21452799346af /source/blender/makesdna
parentadaf9947b108c6c174114dafe35b39196cfd76f9 (diff)
parentb037801f5ec39e5e1a2a3919797f65a8d16116bf (diff)
Merge branch 'property-search-all-tabs-v2' into property-search-ui-v2property-search-ui-v2
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_space_types.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_space_types.h b/source/blender/makesdna/DNA_space_types.h
index 827c233f99e..86218eaaf03 100644
--- a/source/blender/makesdna/DNA_space_types.h
+++ b/source/blender/makesdna/DNA_space_types.h
@@ -132,6 +132,13 @@ typedef enum eSpaceInfo_RptMask {
typedef struct SpaceProperties_Runtime {
/** For filtering properties displayed in the space. Length defined as UI_MAX_NAME_STR. */
char search_string[128];
+ /**
+ * Bitfield flag (in the same order as the tabs) for whether each tab has properties
+ * that match the search filter. Only valid when #search_string is set.
+ */
+ int context_search_filter_active;
+
+ char _pad[4];
} SpaceProperties_Runtime;
/* Properties Editor */
@@ -152,12 +159,9 @@ typedef struct SpaceProperties {
/** Context tabs. */
short mainb, mainbo, mainbuser;
- /** Runtime. Bitfield flag (in the same order as the tabs) for whether each tab has properties
- * that match the search filter. Only valid when #search_string is set. */
- int context_search_filter_active;
/** Preview is signal to refresh. */
short preview;
- char _pad[1];
+ char _pad[5];
char flag;
/** Runtime. */