Blender Git Loki

Git Commits -> Revision bc0c06e

Revision bc0c06e by Jeroen Bakker (master)
November 10, 2021, 12:50 (GMT)
Fix T91518: crash when recalculating looptris after clearing geometry.

When clearing geometry the runtime mutexes of a mesh were freed. This
resulted in crashes afterwards. The clear geometry is an RNA function so
would only effect when using from scripts.

This patch separates init/freeing of the mutexes from other code so they
can be used when needed.

Reviewed By: mont29

Maniphest Tasks: T91518

Differential Revision: https://developer.blender.org/D13142

Commit Details:

Full Hash: bc0c06ecbe8cb23221e9cf05be6235e28d4597db
Parent Commit: 47b8baa
Lines Changed: +53, -22

3 Modified Paths:

/source/blender/blenkernel/BKE_mesh_runtime.h (+2, -1) (Diff)
/source/blender/blenkernel/intern/mesh.c (+5, -3) (Diff)
/source/blender/blenkernel/intern/mesh_runtime.c (+46, -18) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021