Blender Git Loki
Git Commits -> Revision 74ec37b
Revision 74ec37b by Bastien Montagne (master) June 10, 2020, 14:48 (GMT) |
Enable (deep) copy of overrides. This commit enables basic copy of overrides on generic ID level, as well as from (deep) copy operators for objects and collections. So e.g. if your linked overridden caracter is in a collection, you can now (from the outliner) Duplicate that override collection to get a new overriding copy of the character. We still need operators (new or modifying existing ones) to handle that from 3DView e.g. Note that deep copy code for objects/collections (and incidently animdata) had to be modified to avoid duplicating/making local IDs that remain linked ones being used by overrides ones. |
Commit Details:
Full Hash: 74ec37b70cbc8dc228f11d0796dbe68c24526b16
Parent Commit: 1d00170
Lines Changed: +198, -172
6 Modified Paths:
/source/blender/blenkernel/BKE_lib_override.h (+3, -1) (Diff)
/source/blender/blenkernel/intern/anim_data.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/collection.c (+8, -1) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/lib_override.c (+12, -9) (Diff)
/source/blender/blenkernel/intern/object.c (+165, -152) (Diff)
/source/blender/blenkernel/intern/anim_data.c (+3, -2) (Diff)
/source/blender/blenkernel/intern/collection.c (+8, -1) (Diff)
/source/blender/blenkernel/intern/lib_id.c (+7, -7) (Diff)
/source/blender/blenkernel/intern/lib_override.c (+12, -9) (Diff)
/source/blender/blenkernel/intern/object.c (+165, -152) (Diff)