diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2020-10-14 16:21:55 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2020-10-14 16:24:52 +0300 |
commit | fecb276ef7b337145190a090169fe736145799b8 (patch) | |
tree | 5b7fb7487403d23b2834cbf8fb1645dc337f3279 /source/blender/makesdna/DNA_action_types.h | |
parent | 459618d8606e9187a23e804b7e4bfd802d0ac2cd (diff) |
UI: New option to invert search filter in Dopesheet
A lot of animator request an option to invert the filter of the dopesheet channels. This patch adds that invert filter option. This is not for Grease Pencil only, affect to all modes.
{F8983328}
Note: I have seen the new button has a rounded borders on the left. It would be better get rectangle shape, but not sure how to do it.
Reviewed By: campbellbarton, pepeland
Maniphest Tasks: T81676
Differential Revision: https://developer.blender.org/D9182
c68a2a
Diffstat (limited to 'source/blender/makesdna/DNA_action_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_action_types.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_action_types.h b/source/blender/makesdna/DNA_action_types.h index 9da5c302290..ac6160b28e4 100644 --- a/source/blender/makesdna/DNA_action_types.h +++ b/source/blender/makesdna/DNA_action_types.h @@ -796,6 +796,8 @@ typedef enum eDopeSheet_Flag { ADS_FLAG_FUZZY_NAMES = (1 << 2), /** do not sort datablocks (mostly objects) by name (NOTE: potentially expensive operation) */ ADS_FLAG_NO_DB_SORT = (1 << 3), + /** Invert the search filter */ + ADS_FLAG_INVERT_FILTER = (1 << 4), } eDopeSheet_Flag; typedef struct SpaceAction_Runtime { |