Blender Git Loki
Git Commits -> Revision cc7f831
Revision cc7f831 by Bastien Montagne (undo-experiments, undo-experiments-idnames, undo-experiments-swap-reread-datablocks, uuid-undo-experiments, uuid-undo-experiments-swap-reread-datablocks) January 6, 2020, 09:38 (GMT) |
undoexp: much better handling of idname-based re-using old IDs. This commit adds obvious usage of a proper mapping to find local IDs in old Main based on their names. It also adds handling of potential pointer collisions between old Main realm and read .blend memfile realm. That last part is theoritical currently though, testing it actually works won't be easy (pointer collisions will happen, but they are not very likely to happen...). We are still missing some way to prevent all that new code to be ran over an undo step that contains ID renaming (ID creation/deletion should be safe, but idname-based search cannot work whith renaming). |
Commit Details:
Full Hash: cc7f8319d8aedee782ca9f51f9cf20bc52c02478
Parent Commit: ff8bd65
Lines Changed: +138, -13