Cleanup: Remove commented lines of previous commit

This commit is contained in:
Antonio Vazquez 2022-03-29 11:28:38 +02:00
parent 9450057b43
commit 17757eabc7
Notes: blender-bot 2023-02-14 08:33:26 +01:00
Referenced by issue #96241, 3.1: Potential candidates for corrective releases
1 changed files with 0 additions and 4 deletions

View File

@ -848,10 +848,6 @@ static float rna_GPencilStrokePoints_weight_get(bGPDstroke *stroke,
}
MDeformVert *pt_dvert = stroke->dvert + point_index;
// if ((pt_dvert) && (pt_dvert->totweight <= vertex_group_index || vertex_group_index < 0)) {
// BKE_report(reports, RPT_ERROR, "Groups: index out of range");
// return -1.0f;
// }
MDeformWeight *dw = BKE_defvert_find_index(pt_dvert, vertex_group_index);
if (dw) {