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

Cleanup: Remove commented lines of previous commit

parent 343fc38b
No related branches found
Tags
No related merge requests found
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment