diff options
Diffstat (limited to 'source/blender/editors/gpencil')
-rw-r--r-- | source/blender/editors/gpencil/annotate_draw.c | 8 | ||||
-rw-r--r-- | source/blender/editors/gpencil/annotate_paint.c | 6 | ||||
-rw-r--r-- | source/blender/editors/gpencil/gpencil_paint.c | 6 |
3 files changed, 12 insertions, 8 deletions
diff --git a/source/blender/editors/gpencil/annotate_draw.c b/source/blender/editors/gpencil/annotate_draw.c index f175145fca7..f720f261ad5 100644 --- a/source/blender/editors/gpencil/annotate_draw.c +++ b/source/blender/editors/gpencil/annotate_draw.c @@ -110,7 +110,9 @@ static void annotation_draw_stroke_arrow_buffer(uint pos, immEnd(); } -/* draw stroke defined in buffer (simple ogl lines/points for now, as dotted lines) */ +/** + * Draw stroke defined in buffer (simple GPU lines/points for now, as dotted lines). + */ static void annotation_draw_stroke_buffer(bGPdata *gps, short thickness, short dflag, @@ -298,7 +300,9 @@ static void annotation_draw_stroke_point(const bGPDspoint *points, immUnbindProgram(); } -/* draw a given stroke in 3d (i.e. in 3d-space), using simple ogl lines */ +/** + * Draw a given stroke in 3d (i.e. in 3d-space), using simple GPU lines. + */ static void annotation_draw_stroke_3d( const bGPDspoint *points, int totpoints, short thickness, const float ink[4], bool cyclic) { diff --git a/source/blender/editors/gpencil/annotate_paint.c b/source/blender/editors/gpencil/annotate_paint.c index 5ab4a663efe..1a7b034f2f8 100644 --- a/source/blender/editors/gpencil/annotate_paint.c +++ b/source/blender/editors/gpencil/annotate_paint.c @@ -2466,10 +2466,10 @@ static int annotation_draw_modal(bContext *C, wmOperator *op, const wmEvent *eve EVT_PAD7, EVT_PAD8, EVT_PAD9)) { - /* allow numpad keys so that camera/view manipulations can still take place - * - PAD0 in particular is really important for Grease Pencil drawing, + /* Allow numpad keys so that camera/view manipulations can still take place + * - #EVT_PAD0 in particular is really important for Grease Pencil drawing, * as animators may be working "to camera", so having this working - * is essential for ensuring that they can quickly return to that view + * is essential for ensuring that they can quickly return to that view. */ } else if ((event->type == EVT_BKEY) && (event->val == KM_RELEASE)) { diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 4862545e917..22bdc1af119 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -3649,10 +3649,10 @@ static int gpencil_draw_modal(bContext *C, wmOperator *op, const wmEvent *event) EVT_PAD7, EVT_PAD8, EVT_PAD9)) { - /* allow numpad keys so that camera/view manipulations can still take place - * - PAD0 in particular is really important for Grease Pencil drawing, + /* Allow numpad keys so that camera/view manipulations can still take place + * - #EVT_PAD0 in particular is really important for Grease Pencil drawing, * as animators may be working "to camera", so having this working - * is essential for ensuring that they can quickly return to that view + * is essential for ensuring that they can quickly return to that view. */ } else if ((!ELEM(p->paintmode, GP_PAINTMODE_ERASER, GP_PAINTMODE_SET_CP))) { |