diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-08-11 16:53:38 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-09-08 12:52:50 +0300 |
commit | 9cc7e32f39e179be7006b2e3bf7a02dbfa8d0490 (patch) | |
tree | 58fbae434f1cfc68fc6c0a5b12838e98552363ce /source/blender/python | |
parent | 9f0acc2c9e3144be5aa6ccc0ed79062b549e6332 (diff) |
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).
Diffstat (limited to 'source/blender/python')
0 files changed, 0 insertions, 0 deletions