Blender Git Commit Log

Git Commits -> Revision e324172

Revision e324172 by Bastien Montagne (master)
August 11, 2017, 15:08 (GMT)
Fix transform snap code using 'allocated' flags to get verts/edges/etc. arrays again from DM.

This was... horribly wrong, CDDM will often *not* need to allocate
anything to return arrays of mesh items! Just check whether array
pointer is NULL.

Also, remove `DM_get_looptri_array`, that one is useless currently,
`dm->getLoopTriArray` will always return cached array (computing it if
needed).

Commit Details:

Full Hash: e324172d9ca6690e8bd2c0a53f0f7ad529d8e241
Parent Commit: e9cbc70
Lines Changed: +12, -74

5 Modified Paths:

/source/blender/blenkernel/BKE_DerivedMesh.h (+0, -6) (Diff)
/source/blender/blenkernel/intern/bvhutils.c (+2, -11) (Diff)
/source/blender/blenkernel/intern/DerivedMesh.c (+0, -32) (Diff)
/source/blender/blenkernel/intern/mesh_remap.c (+2, -14) (Diff)
/source/blender/editors/transform/transform_snap_object.c (+8, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021