Blender Git Loki

Git Commits -> Revision 9fca9b9

Revision 9fca9b9 by Sergey Sharybin (master)
April 7, 2020, 10:50 (GMT)
Fix crash using object.to_mesh() when in edit mode

The root of the issue was caused by mesh which was a result of to_mesh()
had the same edit_mesh pointer as the input object, causing double-free
error.

This fix makes it so result mesh does not have edit mesh pointer.
Motivation part behind this is to make the result of to_mesh() to be
somewhat independent from the input.

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

Commit Details:

Full Hash: 9fca9b99534923b69f5b2bb59f51d117aed81bac
Parent Commit: 49deda4
Lines Changed: +12, -0

1 Modified Path:

/source/blender/blenkernel/intern/mesh_convert.c (+12, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021