diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-01-16 18:44:49 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-01-16 18:44:49 +0300 |
commit | 24cdffde555bac873904d2fbfe9d57fc0feb8a54 (patch) | |
tree | 449d53907ba1cc11854ea06eae4d720a59b0b7c1 /source/blender/editors/gpencil/gpencil_paint.c | |
parent | f5ec29023dcad11a7b4ced3d52d69d21b443ce02 (diff) |
GPencil: Cleanup - Rename ED_gpencil_stroke_color_use to ED_gpencil_stroke_material_editable
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_paint.c')
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index fd965f09de0..7571f7cded8 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -1738,7 +1738,7 @@ static void gpencil_stroke_doeraser(tGPsdata *p) /* loop over strokes, checking segments for intersections */ LISTBASE_FOREACH_MUTABLE (bGPDstroke *, gps, &gpf->strokes) { /* check if the color is editable */ - if (ED_gpencil_stroke_color_use(p->ob, gpl, gps) == false) { + if (ED_gpencil_stroke_material_editable(p->ob, gpl, gps) == false) { continue; } |