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:
authorCampbell Barton <ideasman42@gmail.com>2021-04-20 08:44:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-04-20 08:44:21 +0300
commit8c5c55b8c9c0cb5d4b8c296f5a8ee501aabc1ead (patch)
tree8fc1e97081cd31598b8ae2fa9767cb05ebbf5c22 /source/blender/editors/interface/interface_intern.h
parent5e82e77112d0949015f85cfbf193c856891a2ef4 (diff)
Cleanup: uiBut.flag had an internal flag out of the documented range
Increase range of internal flags & order UI_SEARCH_FILTER_NO_MATCH within this range, so public button flags aren't accidentally added that overlap with internal flags.
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r--source/blender/editors/interface/interface_intern.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h
index 4c96512b4f3..e6ade6756cf 100644
--- a/source/blender/editors/interface/interface_intern.h
+++ b/source/blender/editors/interface/interface_intern.h
@@ -85,8 +85,7 @@ enum {
UI_HAS_ICON = (1 << 3),
UI_HIDDEN = (1 << 4),
UI_SELECT_DRAW = (1 << 5), /* Display selected, doesn't impact interaction. */
- /** Property search filter is active and the button does not match. */
- UI_SEARCH_FILTER_NO_MATCH = (1 << 12),
+ UI_SEARCH_FILTER_NO_MATCH = (1 << 6),
/* warn: rest of uiBut->flag in UI_interface.h */
};