From fea335fe8bd01675243953e41f59f156e44f1e94 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 13 Feb 2021 17:44:51 +1100 Subject: Cleanup: spelling --- source/blender/editors/gpencil/gpencil_data.c | 2 +- source/blender/editors/gpencil/gpencil_intern.h | 2 +- source/blender/editors/gpencil/gpencil_paint.c | 4 ++-- source/blender/editors/gpencil/gpencil_primitive.c | 2 +- source/blender/editors/gpencil/gpencil_select.c | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'source/blender/editors/gpencil') diff --git a/source/blender/editors/gpencil/gpencil_data.c b/source/blender/editors/gpencil/gpencil_data.c index 3be913f342d..d33545f5b22 100644 --- a/source/blender/editors/gpencil/gpencil_data.c +++ b/source/blender/editors/gpencil/gpencil_data.c @@ -2022,7 +2022,7 @@ static void gpencil_brush_delete_mode_brushes(Main *bmain, } } - /* Before delete, unpinn any material of the brush. */ + /* Before delete, un-pin any material of the brush. */ if ((brush->gpencil_settings) && (brush->gpencil_settings->material != NULL)) { brush->gpencil_settings->material = NULL; brush->gpencil_settings->flag &= ~GP_BRUSH_MATERIAL_PINNED; diff --git a/source/blender/editors/gpencil/gpencil_intern.h b/source/blender/editors/gpencil/gpencil_intern.h index 5fea46626d5..f3e6129b8ae 100644 --- a/source/blender/editors/gpencil/gpencil_intern.h +++ b/source/blender/editors/gpencil/gpencil_intern.h @@ -341,7 +341,7 @@ bool gpencil_brush_create_presets_poll(bContext *C); extern ListBase gpencil_strokes_copypastebuf; -/* Build a map for converting between old colornames and destination-color-refs */ +/* Build a map for converting between old color-names and destination-color-refs. */ struct GHash *gpencil_copybuf_validate_colormap(struct bContext *C); /* Stroke Editing ------------------------------------ */ diff --git a/source/blender/editors/gpencil/gpencil_paint.c b/source/blender/editors/gpencil/gpencil_paint.c index 7e0fd2f2675..20bed64178a 100644 --- a/source/blender/editors/gpencil/gpencil_paint.c +++ b/source/blender/editors/gpencil/gpencil_paint.c @@ -149,9 +149,9 @@ typedef struct tGPsdata { Scene *scene; struct Depsgraph *depsgraph; - /** current object. */ + /** Current object. */ Object *ob; - /** Obeject eval. */ + /** Evaluated object. */ Object *ob_eval; /** window where painting originated. */ wmWindow *win; diff --git a/source/blender/editors/gpencil/gpencil_primitive.c b/source/blender/editors/gpencil/gpencil_primitive.c index db0b9dd035f..251aece687a 100644 --- a/source/blender/editors/gpencil/gpencil_primitive.c +++ b/source/blender/editors/gpencil/gpencil_primitive.c @@ -1276,7 +1276,7 @@ static int gpencil_primitive_invoke(bContext *C, wmOperator *op, const wmEvent * /* set cursor to indicate modal */ WM_cursor_modal_set(win, WM_CURSOR_CROSS); - /* update sindicator in header */ + /* Updates indicator in header. */ gpencil_primitive_status_indicators(C, tgpi); DEG_id_tag_update(&gpd->id, ID_RECALC_TRANSFORM | ID_RECALC_GEOMETRY); WM_event_add_notifier(C, NC_GPENCIL | NA_EDITED, NULL); diff --git a/source/blender/editors/gpencil/gpencil_select.c b/source/blender/editors/gpencil/gpencil_select.c index a00d21bf88a..a85b84f462f 100644 --- a/source/blender/editors/gpencil/gpencil_select.c +++ b/source/blender/editors/gpencil/gpencil_select.c @@ -645,7 +645,7 @@ static bool gpencil_select_same_material(bContext *C) CTX_DATA_END; } - /* free memomy */ + /* Free memory. */ if (selected_colors != NULL) { BLI_gset_free(selected_colors, NULL); } -- cgit v1.2.3