diff options
author | Bastien Montagne <mont29> | 2022-01-12 19:59:46 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2022-01-12 20:01:50 +0300 |
commit | a909ab984ce4007c0dbd70ee085c1d4d780c4014 (patch) | |
tree | 2f8e61271b7929dcaa84c0cabf46bed56e56f934 /source/blender/editors/space_outliner/outliner_intern.h | |
parent | 5f7ad4baaaab38f1a4250dcad17a96d11ee32e10 (diff) |
Outliner: Add way to display warning icon for items.
While theorically fairly generic, current code is only enabled for
bledfile and liboverride views, and only used to display messages from
library IDs.
Reviewed By: Severin
Differential Revision: https://developer.blender.org/D13766
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_intern.h')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_intern.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/editors/space_outliner/outliner_intern.h b/source/blender/editors/space_outliner/outliner_intern.h index e331887319e..24e86e06f68 100644 --- a/source/blender/editors/space_outliner/outliner_intern.h +++ b/source/blender/editors/space_outliner/outliner_intern.h @@ -158,6 +158,8 @@ enum { /* Child elements of the same type in the icon-row are drawn merged as one icon. * This flag is set for an element that is part of these merged child icons. */ TE_ICONROW_MERGED = (1 << 7), + /* This element has some warning to be displayed. */ + TE_HAS_WARNING = (1 << 8), }; /* button events */ |