Revision bcbbee4 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, missing-libs) September 20, 2015, 12:54 (GMT) |
Merge branch 'master' into missing-libs |
Revision f5b0c53 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 19, 2015, 18:03 (GMT) |
Relocate: remove old lib datablocks after relocate, if no ID comes from it anymore. |
Revision aaab73d by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) 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... |
Revision 38670bc by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 19, 2015, 16:26 (GMT) |
Some fixes, add basic wrapper code needed for reload feature (not yet implemented). |
Revision 98efbb3 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 18, 2015, 20:42 (GMT) |
Merge branch 'lib-link-rework-temp' into id-remap Also, fix some issues in previous code. |
Revision 5ac9844 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, lib-link-rework-temp, missing-libs) September 18, 2015, 20:27 (GMT) |
Some naming cleanup. |
Revision 856ef06 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, lib-link-rework-temp, missing-libs) 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... |
Revision f011cdc by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) 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. |
Revision 32ea612 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) 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. |
Revision 5d8b0a8 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 18, 2015, 14:12 (GMT) |
Merge branch 'lib-link-rework-temp' into id-remap |
Revision 33a4a4e by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 18, 2015, 14:12 (GMT) |
Merge branch 'missing-libs' into id-remap |
Revision 7df45b2 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 18, 2015, 14:12 (GMT) |
Merge branch 'master' into id-remap |
Revision 1ba2646 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, lib-link-rework-temp, missing-libs) September 18, 2015, 14:11 (GMT) |
Some cleanup & tweaks. |
Revision c7e14ac by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, lib-link-rework-temp, missing-libs) September 18, 2015, 13:47 (GMT) |
Merge branch 'master' into lib-link-rework-temp |
Revision 87a3de5 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, missing-libs) September 18, 2015, 13:44 (GMT) |
Merge branch 'master' into missing-libs |
Revision f9eef9a by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 18, 2015, 13:01 (GMT) |
Some cleanup & tweaks. |
Revision 185c216 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) 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... |
Revision 4ee2108 by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 17, 2015, 19:00 (GMT) |
Merge branch 'lib-link-rework-temp' into id-remap |
Revision 49156ee by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap, lib-link-rework-temp, missing-libs) 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. |
Revision 0df9a4a by Bastien Montagne (asset-engine, asset-engine--archived, asset-experiments, id-remap) September 17, 2015, 17:12 (GMT) |
Merge branch 'master' into id-remap |
|