Blender Git Commit Log

Git Commits -> Revision cc7f831

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

3 Modified Paths:

/source/blender/blenloader/intern/readblenentry.c (+8, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+123, -13) (Diff)
/source/blender/blenloader/intern/readfile.h (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021