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-09-25 13:31:05 +0300
committerAntonio Vazquez <blendergit@gmail.com>2022-09-25 13:31:05 +0300
commitd35a10134cfdbd3e24a56218ef3f05aac2a2fc7e (patch)
tree6c65c09e94fce98580daa9adf93286dbf8a09018
parentb6adca32801044b93d55091593901a33557e01eb (diff)
Cleanup: Remove commented lines
-rw-r--r--source/blender/editors/gpencil/gpencil_fill.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/gpencil/gpencil_fill.c b/source/blender/editors/gpencil/gpencil_fill.c
index d21ea379b46..79ce68f5aa1 100644
--- a/source/blender/editors/gpencil/gpencil_fill.c
+++ b/source/blender/editors/gpencil/gpencil_fill.c
@@ -415,7 +415,6 @@ static void gpencil_load_array_strokes(tGPDfill *tgpf)
/* Create the extension strokes only for Lines. */
if (tgpf->fill_extend_mode == GP_FILL_EMODE_EXTEND) {
/* Extend start. */
- // bGPDspoint *pt0 = &gps->points[1]; /* UNUSED. */
bGPDspoint *pt1 = &gps->points[0];
stroke->gps_ext_a = BKE_gpencil_stroke_new(gps->mat_nr, 2, gps->thickness);
stroke->gps_ext_a->flag |= GP_STROKE_NOFILL | GP_STROKE_TAG;
@@ -432,7 +431,6 @@ static void gpencil_load_array_strokes(tGPDfill *tgpf)
pt->pressure = 1.0f;
/* Extend end. */
- // pt0 = &gps->points[gps->totpoints - 2]; /* UNUSED. */
pt1 = &gps->points[gps->totpoints - 1];
stroke->gps_ext_b = BKE_gpencil_stroke_new(gps->mat_nr, 2, gps->thickness);
stroke->gps_ext_b->flag |= GP_STROKE_NOFILL | GP_STROKE_TAG;