Commit: 067ae9260f2a8109b3c421be13fac47b6843e098
Author: Antonio Vazquez
Date:   Tue Mar 29 11:28:38 2022 +0200
Branches: blender-v3.1-release
https://developer.blender.org/rB067ae9260f2a8109b3c421be13fac47b6843e098

Cleanup: Remove commented lines of previous commit

===================================================================

M       source/blender/makesrna/intern/rna_gpencil.c

===================================================================

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) {

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to