diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2017-08-11 16:53:38 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2017-08-11 18:08:41 +0300 |
commit | e324172d9ca6690e8bd2c0a53f0f7ad529d8e241 (patch) | |
tree | d1462cf08e76a2dd5fe3ded0945c7338223d2e89 /source/blender/blenkernel/intern/rigidbody.c | |
parent | e9cbc700efdb2510530de17851974986292f380a (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/blenkernel/intern/rigidbody.c')
0 files changed, 0 insertions, 0 deletions