diff options
author | Antonioya <blendergit@gmail.com> | 2018-10-12 10:54:46 +0300 |
---|---|---|
committer | Antonioya <blendergit@gmail.com> | 2018-10-12 10:55:43 +0300 |
commit | 5eeb6c00be8de7db5608d6831a0d88bd39611771 (patch) | |
tree | 593c92a45cbeb90c968a86d9078177fd33b1144f /source/blender/makesdna | |
parent | fe1befcadfa44d012561e8dc697470b2a5cc5f36 (diff) |
GP: Disable reverse list order when uncheck userprefs option
Before, the list kept the reverse order enabled in the filter. Now the filter is reset when the option is disabled and don't need any user change or restart.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index e17c7e17450..9a57f1ae37b 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -455,6 +455,7 @@ enum { /* uiList filter orderby type */ enum { UILST_FLT_SORT_ALPHA = 1 << 0, + UILST_FLT_FORCED_REVERSE = 1 << 1, /* Special flag to indicate reverse was set by external parameter */ UILST_FLT_SORT_REVERSE = 1u << 31 /* Special value, bitflag used to reverse order! */ }; |