7bb1ce124131bb0a41bfb805094b840a67f8a719
Previously, one could easily "loose" baked data by undoing. The data was not actually deleted, but Blender didn't find it anymore. This happened because `update_existing_bake_caches` was expected to be called after changes to `NodesModifierData.bakes`. However, this was not called after undo. It was also not possible to call this function from `blend_read`, because it required access to the referenced node tree. Now, the bake cache is lazily created during depsgraph evaluation, which partially solves the problem. It can still seem that Blender lost data, but that fixes itself much more quickly after the next evaluation. The remaining issue should be solved a future patch that keeps the bake cache intact over undo steps using `foreach_cache`.
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
