Blender Git Commit Log

Git Commits -> Revision bc4aeef

Revision bc4aeef by Bastien Montagne (master)
January 30, 2017, 21:33 (GMT)
Make 'make local' twice quicker.

Use new Main->relations ID usages mapping in BKE_library_make_local().

This allows a noticeable simplification in code, and can be up to twice
quicker as previous code (Make Local: All from 2 to 1 minute e.g. in a
huge production file with thousands of linked data-blocks).

Note that new code has been successfuly tested with several complex cases
(production files from Agent327), as well as some testcases from recent
bug reports related to that function. But as always, nothing beats real
usage by real users, so please check this before we release 2.79. ;)

Main areas that would be affected: Make Local operations (L shortcut in
3DView), and append from libraries.

Commit Details:

Full Hash: bc4aeefe82205efbc9803ba158ec7055cb13ae11
Parent Commit: eadfd90
Lines Changed: +145, -14

1 Modified Path:

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