diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-10-14 17:16:37 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-10-18 11:56:39 +0300 |
commit | e1cd6fae342519048819231137f25cd8b6d2ee45 (patch) | |
tree | 4b020297d36f19ff41aa019f480117c51a24ca1c /source/blender/editors/sculpt_paint/paint_mask.c | |
parent | 9c7fda6de3e828be40999c960bce2dc89e54b7cb (diff) |
Avoid Assert in BKE_mesh_calc_loop_tangent_ex
Code could call CustomData_get_layer_index_n with a negative index (if
no active and/or render UV layers are found). This would assert since
rBe86785c51445.
Spotted while looking into T81398.
Differential Revision: https://developer.blender.org/D9212
Diffstat (limited to 'source/blender/editors/sculpt_paint/paint_mask.c')
0 files changed, 0 insertions, 0 deletions