28305c2c73
In a few cases (IPO conversion, Proxy conversion, ...), versioning implies creating or removing IDs, and/or needs access to the whole Main data-base. So far this was done ad-hoc by adding some code at the end of `setup_app_data`. This commit formalizes this process by adding a BLO call (`BLO_read_do_version_after_setup`) that will encapsulate all such complex versioning code. NOTE: This commit does not address the existing issue that this versioning code is never performmed when linking new data (outside of the 'opening a blendfile' context). This topic would require its own design task. NOTE: This commit does not fix the few current evil cases of ID creation in regular versioning code. This will be addressed separately. Although this commit does modifies slightly some logic in this specific versioning process, no behavioral changes are expected here. Pull Request: https://projects.blender.org/blender/blender/pulls/111147 |
||
---|---|---|
.. | ||
intern | ||
tests | ||
BLO_blend_defs.h | ||
BLO_blend_validate.h | ||
BLO_read_write.h | ||
BLO_readfile.h | ||
BLO_undofile.h | ||
BLO_writefile.h | ||
CMakeLists.txt |