diff options
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_draw.c')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 14d7cf7abd4..92cd50560e4 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -1795,18 +1795,17 @@ static bool outliner_draw_overrides_buts(uiBlock *block, case TSE_LIBRARY_OVERRIDE_BASE: { ID *id = tselem->id; - if (ID_IS_OVERRIDE_LIBRARY_REAL(id) && ID_REAL_USERS(id) == 0) { + if (id->flag & LIB_LIB_OVERRIDE_RESYNC_LEFTOVER) { item_has_warnings = true; if (do_draw) { - tip = TIP_("This override data-block is unused"); + tip = TIP_( + "This override data-block is not needed anymore, but was detected as user-edited"); } } - - else if (id->flag & LIB_LIB_OVERRIDE_RESYNC_LEFTOVER) { + else if (ID_IS_OVERRIDE_LIBRARY_REAL(id) && ID_REAL_USERS(id) == 0) { item_has_warnings = true; if (do_draw) { - tip = TIP_( - "This override data-block is not needed anymore, but was detected as user-edited"); + tip = TIP_("This override data-block is unused"); } } break; |