Blender Git Loki

Blender Git "id-remap" branch commits.

Page: 16 / 19

September 20, 2015, 12:54 (GMT)
Merge branch 'master' into missing-libs
September 19, 2015, 18:03 (GMT)
Relocate: remove old lib datablocks after relocate, if no ID comes from it anymore.
September 19, 2015, 17:56 (GMT)
Attempt to handle correctly LIB_EXTERN vs. LIB_INDIRECT ID flags.

This is far from simple, and most likely not yet fully working, but we have a base...
September 19, 2015, 16:26 (GMT)
Some fixes, add basic wrapper code needed for reload feature (not yet implemented).
September 18, 2015, 20:42 (GMT)
Merge branch 'lib-link-rework-temp' into id-remap

Also, fix some issues in previous code.
September 18, 2015, 20:27 (GMT)
Some naming cleanup.
September 18, 2015, 20:22 (GMT)
Rework a bit new liblink code, to use our beloved memarena instead of ugly pile of malloc.

Performances are not an issue at all here, but it makes code slightly simpler, avoids
a loop over ghash of libs, avoids some potential mem fragmentation, and will be easier
with lib relocate code too in future...
September 18, 2015, 19:31 (GMT)
Consider proxy objects as 'linked' ones when it comes to ID remapping.

Reason is, on next fileread, proxy will be assigned with its target's data again...
Note that this may not be true about all its datablocks pointers - but proxy objects
are really brittle in current code anyway, they could use a serious work as well.
September 18, 2015, 16:09 (GMT)
Moar cleanup, some fixes towards sanier handling of remap & indirect data...

Proxy are still not correctly handled here though.
September 18, 2015, 14:12 (GMT)
Merge branch 'lib-link-rework-temp' into id-remap
September 18, 2015, 14:12 (GMT)
Merge branch 'missing-libs' into id-remap
September 18, 2015, 14:12 (GMT)
Merge branch 'master' into id-remap
September 18, 2015, 14:11 (GMT)
Some cleanup & tweaks.
September 18, 2015, 13:47 (GMT)
Merge branch 'master' into lib-link-rework-temp
September 18, 2015, 13:44 (GMT)
Merge branch 'master' into missing-libs
September 18, 2015, 13:01 (GMT)
Some cleanup & tweaks.
September 18, 2015, 12:44 (GMT)
Relocate library: first working code.

Basics seem to be working, proving idea is valid. There is much to do yet though,
handling correctly all possible scenarii (especially those including indirect libs
used by several libraries, or libs used both directly and indirectly, etc.)
is not going to be a piece of cake...
September 17, 2015, 19:00 (GMT)
Merge branch 'lib-link-rework-temp' into id-remap
September 17, 2015, 18:45 (GMT)
Serious rework (again) of append/link code, to make it more generic.

Making the code in WM area more generic (will be used by relocate libs feature too in future).
And multi-append/link shall no more close & re-open lib files for each and every idcode!

Also, serious cleanup of BLO_append_... API (renamed BLO_link_..., since it links and never appends!),
main real changes there are removing the bContext arg in favor of scene/v3d (a bit more verbose, but does
not requires a valid context anymore to be able to instanciate ob/groups!). And logic behind instanciating
or not has been simplified, previous code was really obscure and sometimes redondant, from quick tests
it still works as expected.

This is temp branch for until 2.76 is over, shall be merged in master asap then.
September 17, 2015, 17:12 (GMT)
Merge branch 'master' into id-remap
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021