Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Vazquez <blendergit@gmail.com>2022-03-29 12:28:38 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2022-03-29 17:27:35 +0300
commit067ae9260f2a8109b3c421be13fac47b6843e098 (patch)
tree92fbc591254acda969423545066f21e235fad338
parent343fc38b8d646735f42c88dd9de8a33feaf3cb7f (diff)
Cleanup: Remove commented lines of previous commit
-rw-r--r--source/blender/makesrna/intern/rna_gpencil.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c
index 63afff73e47..5cc18dd3535 100644
--- a/source/blender/makesrna/intern/rna_gpencil.c
+++ b/source/blender/makesrna/intern/rna_gpencil.c
@@ -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) {