From 8408a8fda2f2e635b8351a17c75ea7b8ce5e548c Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 26 Mar 2021 18:13:54 +0100 Subject: [PATCH] LibOverride: Fix outliner menu showing 'override editing' entries for linked overrides. One can only resync, reset, delete etc. locl overrides, linked ones are basically regular linked IDs and fully not editable. Reported by Demeter from the Studio, thanks. --- source/blender/editors/space_outliner/outliner_tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/space_outliner/outliner_tools.c b/source/blender/editors/space_outliner/outliner_tools.c index 21ddea922d8..95ff42a9946 100644 --- a/source/blender/editors/space_outliner/outliner_tools.c +++ b/source/blender/editors/space_outliner/outliner_tools.c @@ -1873,7 +1873,7 @@ static bool outliner_id_operation_item_poll(bContext *C, case OUTLINER_IDOP_OVERRIDE_LIBRARY_RESYNC_HIERARCHY: case OUTLINER_IDOP_OVERRIDE_LIBRARY_RESYNC_HIERARCHY_ENFORCE: case OUTLINER_IDOP_OVERRIDE_LIBRARY_DELETE_HIERARCHY: - if (ID_IS_OVERRIDE_LIBRARY_REAL(tselem->id)) { + if (ID_IS_OVERRIDE_LIBRARY_REAL(tselem->id) && !ID_IS_LINKED(tselem->id)) { return true; } return false;