diff --git a/source/blender/editors/space_outliner/outliner_tools.cc b/source/blender/editors/space_outliner/outliner_tools.cc index 37c32aa46b8..6e38739a6fe 100644 --- a/source/blender/editors/space_outliner/outliner_tools.cc +++ b/source/blender/editors/space_outliner/outliner_tools.cc @@ -1043,6 +1043,14 @@ static void id_override_library_create_hierarchy_pre_process_fn(bContext *C, return; } + if (!ID_IS_OVERRIDABLE_LIBRARY_HIERARCHY(id_root_reference)) { + BKE_reportf(reports, + RPT_WARNING, + "Could not create library override from data-block '%s', as it is not overridable", + id_root_reference->name); + return; + } + BLI_assert(do_hierarchy); UNUSED_VARS_NDEBUG(do_hierarchy);