Blender Git Commit Log

Git Commits -> Revision a8739ae

Revision a8739ae by Campbell Barton (master)
September 2, 2021, 06:12 (GMT)
Fix regression in recent change 0708733c46cb6b50697c1b80a6541d6fb410267e

Adding a mirror modifier in edit-mode crashed.

Freeing meshes that hold a shallow copy happens in multiple places
while calculating modifiers, making it impractical to clear the
edit-mode pointer before freeing the mesh (as done in
BKE_editmesh_free_derived_caches).

Add a struct member to the edit-mesh struct so evaluated copies
don't free the edit-mesh contents.

Commit Details:

Full Hash: a8739ae6c2acbf0737113fbebf7e5ac0a942aaee
Parent Commit: a2f3aca
Lines Changed: +13, -8

4 Modified Paths:

/source/blender/blenkernel/BKE_editmesh.h (+5, -0) (Diff)
/source/blender/blenkernel/intern/editmesh.c (+2, -6) (Diff)
/source/blender/blenkernel/intern/mesh.c (+3, -1) (Diff)
/source/blender/blenkernel/intern/mesh_wrapper.c (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021