270a229728712f2a31ff341eba89b059df6299e4
Changing the frames map would lead to a crash later in undo. This was because the `frames_storage` was not written to file corectly. When the `frames_storage` was tagged dirty, it recreated the `frames_storage.num` as well as the `keys` and `values` pointers. The `keys` and `values` pointers were written after the update, but since the `num` is just an `int` in the embeded struct, it was written before being updated. This lead to an out-of-sync state and later to the crash. The fix makes sure we write the struct *after* updating it.
…
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%
