Cleanup: Remove commented lines of previous commit

This commit is contained in:
Antonio Vazquez 2022-03-29 11:28:38 +02:00 committed by Philipp Oeser
parent 343fc38b8d
commit 067ae9260f
1 changed files with 0 additions and 4 deletions

View File

@ -849,10 +849,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) {