Blender Git Loki

Git Commits -> Revision 794b915

Revision 794b915 by Lukas Toenne
February 1, 2015, 13:20 (GMT)
Fix for strands undo creating an invalid BMesh.

When copying mesh data to bmesh the MVERT and similar customdata types
have to be omitted. Otherwise the bmesh instance ends up with NULL
pointers in customdata layers, but entries in the typemap != -1. The
effect was that when storing new steps after one or more undo, the
resulting original data would be copied, and subsequent undo steps
are ignored.

Commit Details:

Full Hash: 794b915a65b9d35915c3780579cfce687bcde6e8
Parent Commit: c80c545
Lines Changed: +8, -3

3 Modified Paths:

/source/blender/blenkernel/BKE_customdata.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/customdata.c (+6, -1) (Diff)
/source/blender/editors/hair/hair_undo.c (+1, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021