Blender Git Commit Log

Git Commits -> Revision d1a4ae3

Revision d1a4ae3 by Bastien Montagne (master)
July 8, 2016, 16:11 (GMT)
Refactor/enhance BKE_object_make_local().

Now using modern features from libquery/libremap areas.

Also, it should handle much better cases where localized ID was also indirectly used by non-refcounting users
(typical case: object used as modifier/constraint/whatever target from another linked object, previous
code would not take those into account and just localize original object instead of making a local copy.
Would result in local object used by linked one, which would be partially 'undone' on next file reload... Crappy behavior).

And it fixes some obvious errors too (nullifying all proxy pointers unconditionnaly,
some missing refcounted usages cases in extern_local_object(), etc.).

Commit Details:

Full Hash: d1a4ae3f395a6dbb6487c5885d2327129d9b4532
Parent Commit: f3fe1f9
Lines Changed: +25, -60

3 Modified Paths:

/source/blender/blenkernel/BKE_object.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/library.c (+2, -2) (Diff)
/source/blender/blenkernel/intern/object.c (+22, -57) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021