Blender Git Commit Log

Git Commits -> Revision 5c7852e

Revision 5c7852e by Bastien Montagne (master)
August 29, 2019, 16:11 (GMT)
LibOverride: Create override operator: various fixes.

* `make_override_library_exec` was not properly cleaning `LIB_TAG_DOIT`
from all IDs in the Main DB.
* `BKE_override_library_create_from_tag` was doing dangerous things
(like iterating over a BMain listbase while adding items to it...).
* It would remap *all* local usages of overridden linked IDs to new
overriding local IDs, which was very inconvinient.

New handling of remapping now allows to only remap inside of the group
of IDs that is being overridden, in other words you can still have e.g.
other empties still instancing the same linked collection...

Commit Details:

Full Hash: 5c7852ef9c6a77062adc3754258b181379e05f43
Parent Commit: b9c400c
Lines Changed: +54, -14

2 Modified Paths:

/source/blender/blenkernel/intern/library_override.c (+50, -12) (Diff)
/source/blender/editors/object/object_relations.c (+4, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021