Blender Git Loki

Git Commits -> Revision f269067

Revision f269067 by Bastien Montagne (master)
November 15, 2016, 15:39 (GMT)
Get rid of 'drivers unlinking' code in `BKE_libblock_free_data()`

This has nothing to do here (freeing is not unlinking/remapping!), and
was actually redoing something already taken care of by
`BKE_libblock_relink_ex()` call in `BKE_libblock_free_ex()`.

Also, gives some noticeable speedup when removing datablocks with
do_unlink=True, about 5 to 10% quicker e.g. when deleting all objects
from a py console, in a big production file...

Commit Details:

Full Hash: f2690673ba4966542684d5b6f17d0fa329c33b82
Parent Commit: af0e6b3
Lines Changed: +1, -12

2 Modified Paths:

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