diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-11-26 13:30:46 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-11-26 23:07:50 +0300 |
commit | 8cd5edf8508a00df9791f7b0795b23c74e00c449 (patch) | |
tree | 1883be27017f0c76641d2a0eb43a076af70770da /source/blender/blenkernel/BKE_lattice.h | |
parent | c1adf938e6c8ecaec805f4cf95c73480de1bf980 (diff) |
MOD_cast: do not compute mesh when not needed.
This modifier only uses mesh to get vgroup, which is only needed in case
modified object is indeed a mesh! Building a mesh from curve here is not
only useless and time-consuming, it will also easily fail the assert
about same number of vertices!
Also fixes crash when used on lattice.
Related to T57972.
Diffstat (limited to 'source/blender/blenkernel/BKE_lattice.h')
0 files changed, 0 insertions, 0 deletions