Blender Git Loki

Git Commits -> Revision 9cc7e32

September 8, 2017, 09:52 (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

Commit Details:

Full Hash: 9cc7e32f39e179be7006b2e3bf7a02dbfa8d0490
Parent Commit: 9f0acc2
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021