diff options
author | Jacques Lucke <jacques@blender.org> | 2022-01-12 13:15:22 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2022-01-12 13:15:22 +0300 |
commit | 1e61b759c7adc10be2df7edab35c507e804a7fed (patch) | |
tree | b5c8374274b52a27d65a2d834845ab99b2a5ff58 /source/blender/editors/transform/transform_mode_edge_bevelweight.c | |
parent | 145f1d1e0a59c1de311a0511e05541563296d879 (diff) |
Fix T94797: crash when playing animation in eevee rendered view
The issue was caused by rBd09b1d2759861aa012ab2e7e4ce2ffa2.
Since this commit, the image users in gpu materials were updated
during depsgraph evaluation as well. However, there was a race
condition when one thread is deleting gpu materials in `BKE_material_eval`
while another thread is updating the image users at the same time.
The solution is to make sure that deleting gpu materials is done before
iterating over all gpu materials, by adding a new depsgraph relation.
Diffstat (limited to 'source/blender/editors/transform/transform_mode_edge_bevelweight.c')
0 files changed, 0 insertions, 0 deletions