From a909ab984ce4007c0dbd70ee085c1d4d780c4014 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Wed, 12 Jan 2022 17:59:46 +0100 Subject: 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 --- source/blender/editors/space_outliner/outliner_intern.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/editors/space_outliner/outliner_intern.h') 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 */ -- cgit v1.2.3