diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-30 03:38:24 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-30 03:38:24 +0300 |
commit | 9ae98f305a4c2ef226ad7319135aae0a7e811ed4 (patch) | |
tree | 4dce46ab06982a95a6af32337d48332b2fb0f2b0 /source/blender/editors | |
parent | be8270bc76ef873adb646b97abcf925beae90137 (diff) |
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/editors')
6 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/gpencil/gpencil_primitive.c b/source/blender/editors/gpencil/gpencil_primitive.c index 01d433b9b2a..b57b8145749 100644 --- a/source/blender/editors/gpencil/gpencil_primitive.c +++ b/source/blender/editors/gpencil/gpencil_primitive.c @@ -1401,7 +1401,7 @@ static void gpencil_primitive_interaction_end(bContext *C, BKE_gpencil_stroke_geometry_update(tgpi->gpd, gps); } - /* In Multiframe mode, duplicate the stroke in other frames. */ + /* In Multi-frame mode, duplicate the stroke in other frames. */ if (GPENCIL_MULTIEDIT_SESSIONS_ON(tgpi->gpd)) { const bool tail = (ts->gpencil_flags & GP_TOOL_FLAG_PAINT_ONBACK); BKE_gpencil_stroke_copy_to_keyframes(tgpi->gpd, tgpi->gpl, gpf, gps, tail); diff --git a/source/blender/editors/gpencil/gpencil_utils.c b/source/blender/editors/gpencil/gpencil_utils.c index 69ea58eee02..2dc12125f40 100644 --- a/source/blender/editors/gpencil/gpencil_utils.c +++ b/source/blender/editors/gpencil/gpencil_utils.c @@ -1423,7 +1423,7 @@ void ED_gpencil_add_defaults(bContext *C, Object *ob) /* ensure a color exists and is assigned to object */ BKE_gpencil_object_material_ensure_from_active_input_toolsettings(bmain, ob, ts); - /* ensure multiframe falloff curve */ + /* Ensure multi-frame falloff curve. */ if (ts->gp_sculpt.cur_falloff == NULL) { ts->gp_sculpt.cur_falloff = BKE_curvemapping_add(1, 0.0f, 0.0f, 1.0f, 1.0f); CurveMapping *gp_falloff_curve = ts->gp_sculpt.cur_falloff; diff --git a/source/blender/editors/gpencil/gpencil_vertex_paint.c b/source/blender/editors/gpencil/gpencil_vertex_paint.c index b4cfc7f3a08..c221d8e25e4 100644 --- a/source/blender/editors/gpencil/gpencil_vertex_paint.c +++ b/source/blender/editors/gpencil/gpencil_vertex_paint.c @@ -738,7 +738,7 @@ static bool gpencil_vertexpaint_brush_init(bContext *C, wmOperator *op) /* Save mask. */ gso->mask = ts->gpencil_selectmode_vertex; - /* Multiframe settings. */ + /* Multi-frame settings. */ gso->is_multiframe = (bool)GPENCIL_MULTIEDIT_SESSIONS_ON(gso->gpd); gso->use_multiframe_falloff = (ts->gp_sculpt.flag & GP_SCULPT_SETT_FLAG_FRAME_FALLOFF) != 0; diff --git a/source/blender/editors/sculpt_paint/curves_sculpt_snake_hook.cc b/source/blender/editors/sculpt_paint/curves_sculpt_snake_hook.cc index 117b2265015..1fb3931e00f 100644 --- a/source/blender/editors/sculpt_paint/curves_sculpt_snake_hook.cc +++ b/source/blender/editors/sculpt_paint/curves_sculpt_snake_hook.cc @@ -38,10 +38,10 @@ /** * The code below uses a prefix naming convention to indicate the coordinate space: - * cu: Local space of the curves object that is being edited. - * su: Local space of the surface object. - * wo: World space. - * re: 2D coordinates within the region. + * - `cu`: Local space of the curves object that is being edited. + * - `su`: Local space of the surface object. + * - `wo`: World space. + * - `re`: 2D coordinates within the region. */ namespace blender::ed::sculpt_paint { diff --git a/source/blender/editors/transform/transform.c b/source/blender/editors/transform/transform.c index 76d42fae444..4058d77f42f 100644 --- a/source/blender/editors/transform/transform.c +++ b/source/blender/editors/transform/transform.c @@ -1115,7 +1115,7 @@ int transformEvent(TransInfo *t, const wmEvent *event) initSelectConstraint(t); /* Use #TREDRAW_SOFT so that #selectConstraint is only called on the next event. - * This allows us to "deselect" the contraint. */ + * This allows us to "deselect" the constraint. */ t->redraw = TREDRAW_SOFT; } } diff --git a/source/blender/editors/util/ed_transverts.c b/source/blender/editors/util/ed_transverts.c index c1e093d5555..8d8f7733877 100644 --- a/source/blender/editors/util/ed_transverts.c +++ b/source/blender/editors/util/ed_transverts.c @@ -33,7 +33,7 @@ #include "ED_transverts.h" /* own include */ -/* copied from editobject.c, now uses (almost) proper depgraph */ +/* copied from editobject.c, now uses (almost) proper depsgraph. */ void ED_transverts_update_obedit(TransVertStore *tvs, Object *obedit) { const int mode = tvs->mode; |