Blender Git Commit Log

Git Commits -> Revision ed1dc43

April 20, 2015, 10:24 (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: ed1dc43657c6362ec91a4cc4a1e80021279a9415
Parent Commit: 5b9b779
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)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021