From 83e245023c481aa2f57588724915e554c00c05d2 Mon Sep 17 00:00:00 2001 From: Bastien Montagne Date: Fri, 19 Nov 2021 11:48:25 +0100 Subject: Fix (unreported) wrong behavior of constraints in liboverrides. All constraints were 'made local', including the ones comming from the reference linked object. --- source/blender/blenkernel/BKE_lib_id.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenkernel/BKE_lib_id.h') diff --git a/source/blender/blenkernel/BKE_lib_id.h b/source/blender/blenkernel/BKE_lib_id.h index b38125b791d..68399959a37 100644 --- a/source/blender/blenkernel/BKE_lib_id.h +++ b/source/blender/blenkernel/BKE_lib_id.h @@ -123,6 +123,9 @@ enum { LIB_ID_COPY_CD_REFERENCE = 1 << 20, /** Do not copy id->override_library, used by ID datablock override routines. */ LIB_ID_COPY_NO_LIB_OVERRIDE = 1 << 21, + /** When copying local sub-data (like constraints or modifiers), do not set their "library + * override local data" flag. */ + LIB_ID_COPY_NO_LIB_OVERRIDE_LOCAL_DATA_FLAG = 1 << 22, /* *** XXX Hackish/not-so-nice specific behaviors needed for some corner cases. *** */ /* *** Ideally we should not have those, but we need them for now... *** */ -- cgit v1.2.3