Blender Git Loki
Git Commits -> Revision 9cc7e32
Revision 9cc7e32 by Bastien Montagne (blender-v2.79-release, blender-v2.79a-release, blender-v2.79b-release, fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) 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 needed). |
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)
/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)