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:
authorCampbell Barton <ideasman42@gmail.com>2021-02-14 12:58:04 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-02-14 12:58:04 +0300
commit67c8d97db36b285303abc5dce83b1bc8dc209651 (patch)
treebf1cf63fb1f9ade7205d4e6b73800b79a4f3a3b7 /source/blender/editors/gpencil/gpencil_edit.c
parent07c6a57507e81fe68a7fb3ee23c951fc80f3a042 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/gpencil/gpencil_edit.c')
-rw-r--r--source/blender/editors/gpencil/gpencil_edit.c13
1 files changed, 8 insertions, 5 deletions
diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index aeff2acb04d..bf1aff5a34a 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -1111,7 +1111,7 @@ static void gpencil_add_move_points(bGPdata *gpd, bGPDframe *gpf, bGPDstroke *gp
BKE_gpencil_stroke_geometry_update(gpd, gps);
BKE_gpencil_stroke_geometry_update(gpd, gps_new);
- /* deselect orinal point */
+ /* Deselect original point. */
pt->flag &= ~GP_SPOINT_SELECT;
}
}
@@ -1241,7 +1241,7 @@ static void gpencil_curve_extrude_points(bGPdata *gpd,
}
}
- /* Edgcase for single curve point. */
+ /* Edge-case for single curve point. */
if (gpc->tot_curve_points == 1) {
last_select = false;
}
@@ -1331,7 +1331,7 @@ static int gpencil_extrude_exec(bContext *C, wmOperator *op)
changed = true;
}
- /* if not multiedit, exit loop*/
+ /* If not multi-edit, exit loop. */
if (!is_multiedit) {
break;
}
@@ -1379,8 +1379,11 @@ void GPENCIL_OT_extrude(wmOperatorType *ot)
* from several different layers into a single layer.
* \{ */
-/* list of bGPDstroke instances */
-/* NOTE: is exposed within the editors/gpencil module so that other tools can use it too */
+/**
+ * list of #bGPDstroke instances
+ *
+ * \note is exposed within the editors/gpencil module so that other tools can use it too.
+ */
ListBase gpencil_strokes_copypastebuf = {NULL, NULL};
/* Hash for hanging on to all the colors used by strokes in the buffer