This repository has been archived on 2023-10-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
blender-archive/source/blender/blenkernel
Bastien Montagne f6ab97c1ae Enhance BKE_library_make_local() to make it much quicker in complex cases.
Basic idea is to split first loop in two, and run checks before making
anything actually local, to detect data-blocks that we can directly make
local (because we are sure they are only used by already/future local
datablocks).

This allows to avoid a lot of overhead in later 'cleanup' steps of this
function, here with barbershop shot it's four times quicker (from 190s to 48s).

We are still far from the instantaneous results of MakeLocal in 2.77,
but in that version main characters lose their connection to their
armature and remain static after makelocal, so guess new code is still
better. ;)

There are probably more optimizations possible here, but would rather
polish this area of code once we get rid of proxies, those really
make it a nightmare to work on.
2016-11-11 23:17:52 +01:00
..
2016-07-30 16:46:13 +10:00
2016-07-02 10:08:33 +10:00
2016-08-06 10:58:13 +02:00
2016-05-17 03:07:40 +10:00
2016-07-30 16:46:13 +10:00
2016-08-04 15:11:21 +02:00
2016-08-08 17:51:15 +02:00
2016-07-14 18:33:12 +02:00
2016-08-08 17:51:15 +02:00
2015-11-12 18:54:26 +11:00
2016-05-11 20:20:25 +10:00
2016-08-16 13:30:40 +02:00
2016-05-03 13:52:07 +10:00
2016-08-06 10:58:13 +02:00