diff options
Diffstat (limited to 'source/blender/makesrna/intern/rna_gpencil.c')
-rw-r--r-- | source/blender/makesrna/intern/rna_gpencil.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/makesrna/intern/rna_gpencil.c b/source/blender/makesrna/intern/rna_gpencil.c index ba94fbe88e5..aa17f6bc366 100644 --- a/source/blender/makesrna/intern/rna_gpencil.c +++ b/source/blender/makesrna/intern/rna_gpencil.c @@ -848,10 +848,10 @@ 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; - } + // 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) { |