diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-21 02:04:09 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-21 02:05:58 +0300 |
commit | 49208a3419248087fc8e944f961d60c6dcdae3d4 (patch) | |
tree | 566a7aec9c5899a01e0bd04e39d6188ba39d91c3 /source/blender/blenkernel/intern | |
parent | eff4b68a6f10edc6edbc09ec36f66d15c9e0e571 (diff) |
Cleanup: shadow warning, style
Diffstat (limited to 'source/blender/blenkernel/intern')
-rw-r--r-- | source/blender/blenkernel/intern/gpencil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/gpencil.c b/source/blender/blenkernel/intern/gpencil.c index ae386d24309..3d1208b43de 100644 --- a/source/blender/blenkernel/intern/gpencil.c +++ b/source/blender/blenkernel/intern/gpencil.c @@ -1212,7 +1212,7 @@ void BKE_gpencil_vgroup_remove(Object *ob, bDeformGroup *defgroup) else { /* reorganize weights in other strokes */ for (int g = 0; g < gps->dvert->totweight; g++) { - MDeformWeight *dw = &dvert->dw[g]; + dw = &dvert->dw[g]; if ((dw != NULL) && (dw->def_nr > def_nr)) { dw->def_nr--; } |