9a59372f079372fe0ddfa059ab18bbe6bd36cf9e
The code was relying on the layer cache through `groups_for_write`/`layers_for_write`. The `group->runtime->layer_group_cache_` stores all the child groups instead of groups on first level. This leads to crash when recursively deleting group i.e. group at third level has been deleted but `layer_group_cache_` of first level group will still point to address of freed memory. The fix removes the use of the cache and iterates over the direct children in `group.children` and deletes them recursively. Pull Request: https://projects.blender.org/blender/blender/pulls/130082
…
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%
