Blender Git Loki

Git Commits -> Revision bab5755

Revision bab5755 by Bastien Montagne (master)
December 7, 2020, 15:55 (GMT)
LibOverride: Abstract a bit handling of local items of RNA collections.

RNA collections that support insertion of new items in liboverride
data-block need a special way to distiguish between locale and
orig-from-linked items (since some operations are allowed on the forer,
but no the latter).

In future we want a proper solution to abstract that at the
`BKE_lib_override` level, but for now we need to add some code for each
case.

Note that this commit also fixes a few potential issues with GPencil
modifiers, and constraints, regarding their handling of local overrides.

Commit Details:

Full Hash: bab57550b69b8429bb2f081fbc75f1d1ca035a34
Parent Commit: 513578b
Lines Changed: +74, -24

9 Modified Paths:

/source/blender/blenkernel/BKE_constraint.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_gpencil_modifier.h (+3, -0) (Diff)
/source/blender/blenkernel/BKE_modifier.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/constraint.c (+15, -0) (Diff)
/source/blender/blenkernel/intern/gpencil_modifier.c (+13, -0) (Diff)
/source/blender/blenkernel/intern/modifier.c (+13, -0) (Diff)
/source/blender/editors/object/object_constraint.c (+3, -5) (Diff)
/source/blender/editors/object/object_gpencil_modifier.c (+20, -14) (Diff)
/source/blender/editors/object/object_modifier.c (+3, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021