Blender Git Commit Log

Git Commits -> Revision 85e51b0

Revision 85e51b0 by Sergey Sharybin (master)
November 15, 2016, 14:56 (GMT)
Avoid driver target remapping when freeing the whole database

Added BKE_libblock_free_data_ex() which takes special do_id_user
argument which basically indicates whether main database was already
taken care about not having "dead" pointers.

Gives about 40% speedup of main database free with quadbot scene
(3.4sec vs. 5.4 sec on quite powerful desktop).

Commit Details:

Full Hash: 85e51b063854d81b486d7099536bc21404fc627e
Parent Commit: 0cd1b5e
Lines Changed: +12, -4

2 Modified Paths:

/source/blender/blenkernel/BKE_library.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/library_remap.c (+11, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021