Skip to content
Snippets Groups Projects
Commit 343fc38b authored by Antonio Vazquez's avatar Antonio Vazquez Committed by Philipp Oeser
Browse files

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.
parent 9f15ee3c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment