Blender Git Loki

Git Commits -> Revision 11292ed

Revision 11292ed by Campbell Barton (master)
January 7, 2020, 06:47 (GMT)
BMesh: remove BMEditMesh.ob pointer

Remove this pointer since it's linking Mesh data back to the object,
where a single edit-mesh may have multiple object users,
causing incorrect assumptions in the code.

Resolves dangling pointer part of the T72667 crash,
although there are other issues which still need to be fixed.

In EDBM_op_finish and EDBM_update_generic,
full Main lookups have been added which should be replaced with mesh
argument or the update tagging moved elsewhere.

Commit Details:

Full Hash: 11292edba6ec361cc7142c4e2d9af0289cd895bb
Parent Commit: 1ef59d0
Lines Changed: +24, -18

6 Modified Paths:

/source/blender/blenkernel/BKE_editmesh.h (+1, -3) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+1, -1) (Diff)
/source/blender/blenkernel/intern/object_update.c (+0, -3) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+2, -3) (Diff)
/source/blender/editors/mesh/editmesh_undo.c (+0, -1) (Diff)
/source/blender/editors/mesh/editmesh_utils.c (+20, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021