diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2022-03-29 12:25:18 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2022-03-29 17:27:01 +0300 |
commit | 343fc38b8d646735f42c88dd9de8a33feaf3cb7f (patch) | |
tree | 0d3461fc554eb8733d49e5796a1e4e0ac5d3887d /source/blender/draw | |
parent | 9f15ee3c7ae03c19a09f5a48e29960e18c6628c0 (diff) |
Fix T96799: GPencil `weight_get` API cannot retrieve weights
The problem was when the stroke had less weights that the total number of vertex groups.
The API checked the total number of groups, but this is not required because `BKE_defvert_find_index` returns NULL is the vertex group index does not exist.
Diffstat (limited to 'source/blender/draw')
0 files changed, 0 insertions, 0 deletions