Blender Git Commit Log
Git Commits -> Revision 9829a3c
Revision 9829a3c by Bastien Montagne (id-ensure-unique-memory-address, readfile-rework-refcount-handling, undo-experiments, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) February 1, 2020, 18:43 (GMT) |
Refactor readfile's liblink code. Liblink specific ID type function was so far running a loop over all IDs of relevant type, unlike almost any other 'ID-callback-like' functions in Blender, which usually let the looping controll to calling code. The latter approach is more convinient when one want to add generic (i.e. type-agnostic) code, since it typically only has to change code in one place (caller function) instead of tens of places (all the callback functions). This commit also changes/sanitizes a few things that had nothing to do in main liblink code, like mesh conversion from tessfaces to polys (which can be done in after-linking versionning code), or scenes' cycles detection/check regarding background 'set' scenes. Differential Revision: https://developer.blender.org/D6727 |
Commit Details:
Full Hash: 9829a3c496743e0e6a557c9283f8c2cf2d9c1aa2
Parent Commit: f051d47
Lines Changed: +775, -1022