Blender Git Loki

Git Commits -> Revision c9e054c

Revision c9e054c by Bastien Montagne (master)
April 10, 2021, 13:25 (GMT)
LibOverride: Add own flag to copy or not overrides to ID copy code.

Relying on only no-main for that was weak, and inn the end it turns out
we sometimes also need to ifnore override data during copy of Main
data-blocks.

NOTE: The new `LIB_ID_COPY_NO_LIB_OVERRIDE` is also added to the
`LIB_ID_COPY_LOCALIZE` set of flags.

NOTE: The fact that we may now copy liboverrides in some non-main cases
may cause issues in some cases, pretty impossible to track all possible
ones from reading the code... Would not expect too many problem though,
usages of `LIB_ID_CREATE_NO_MAIN` by itself are not so common.

Commit Details:

Full Hash: c9e054c5de510452ca4f230db807f9c25d9ea4bb
Parent Commit: f337310
Lines Changed: +5, -4

2 Modified Paths:

/source/blender/blenkernel/BKE_lib_id.h (+4, -1) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+1, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021