diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-02-16 13:15:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-02-16 13:15:45 +0300 |
commit | c03650073e60194500e13dc996168c4930970f5b (patch) | |
tree | c9cbaa7533bf1e7712aaa12594be030a23295477 /source/blender/editors | |
parent | a059f072741d671ad882c44e93f6f62bb38f27d8 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/animation/keyframing.c | 2 | ||||
-rw-r--r-- | source/blender/editors/armature/armature_edit.c | 6 | ||||
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 6 | ||||
-rw-r--r-- | source/blender/editors/interface/view2d_ops.c | 3 | ||||
-rw-r--r-- | source/blender/editors/mesh/editmesh_select.c | 2 | ||||
-rw-r--r-- | source/blender/editors/object/object_vgroup.c | 4 | ||||
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_file/file_ops.c | 3 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 6 |
9 files changed, 16 insertions, 18 deletions
diff --git a/source/blender/editors/animation/keyframing.c b/source/blender/editors/animation/keyframing.c index 0d1633ab3a2..4cc0413be5b 100644 --- a/source/blender/editors/animation/keyframing.c +++ b/source/blender/editors/animation/keyframing.c @@ -639,7 +639,7 @@ int insert_vert_fcurve( /* don't recalculate handles if fast is set * - this is a hack to make importers faster - * - we may calculate twice (due to autohandle needing to be calculated twice) + * - we may calculate twice (due to auto-handle needing to be calculated twice) */ if ((flag & INSERTKEY_FAST) == 0) { calchandles_fcurve(fcu); diff --git a/source/blender/editors/armature/armature_edit.c b/source/blender/editors/armature/armature_edit.c index a07e73d6266..912aafbd6e3 100644 --- a/source/blender/editors/armature/armature_edit.c +++ b/source/blender/editors/armature/armature_edit.c @@ -126,12 +126,12 @@ void ED_armature_origin_set( bArmature *arm = ob->data; float cent[3]; - /* Put the armature into editmode */ + /* Put the armature into edit-mode. */ if (is_editmode == false) { ED_armature_to_edit(arm); } - /* Find the centerpoint */ + /* Find the center-point. */ if (centermode == 2) { copy_v3_v3(cent, cursor); invert_m4_m4(ob->imat, ob->obmat); @@ -173,7 +173,7 @@ void ED_armature_origin_set( ED_armature_edit_free(arm); } - /* Adjust object location for new centerpoint */ + /* Adjust object location for new center-point. */ if (centermode && (is_editmode == false)) { mul_mat3_m4_v3(ob->obmat, cent); /* omit translation part */ add_v3_v3(ob->loc, cent); diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index 439515ed80f..0593cedb5a1 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -3111,7 +3111,7 @@ void CURVE_OT_smooth_weight(wmOperatorType *ot) ot->description = "Interpolate weight of selected points"; ot->idname = "CURVE_OT_smooth_weight"; - /* api clastbacks */ + /* api callbacks */ ot->exec = curve_smooth_weight_exec; ot->poll = ED_operator_editsurfcurve; @@ -3154,7 +3154,7 @@ void CURVE_OT_smooth_radius(wmOperatorType *ot) ot->description = "Interpolate radii of selected points"; ot->idname = "CURVE_OT_smooth_radius"; - /* api clastbacks */ + /* api callbacks */ ot->exec = curve_smooth_radius_exec; ot->poll = ED_operator_editsurfcurve; @@ -3197,7 +3197,7 @@ void CURVE_OT_smooth_tilt(wmOperatorType *ot) ot->description = "Interpolate tilt of selected points"; ot->idname = "CURVE_OT_smooth_tilt"; - /* api clastbacks */ + /* api callbacks */ ot->exec = curve_smooth_tilt_exec; ot->poll = ED_operator_editsurfcurve; diff --git a/source/blender/editors/interface/view2d_ops.c b/source/blender/editors/interface/view2d_ops.c index e234ab5dcdc..7453cd17868 100644 --- a/source/blender/editors/interface/view2d_ops.c +++ b/source/blender/editors/interface/view2d_ops.c @@ -1746,8 +1746,7 @@ void UI_view2d_smooth_view(bContext *C, ARegion *region, const rctf *cur, const if (v2d->smooth_timer) { WM_event_remove_timer(wm, win, v2d->smooth_timer); } - /* TIMER1 is hardcoded in keymap */ - /* max 30 frs/sec */ + /* TIMER1 is hard-coded in key-map. */ v2d->smooth_timer = WM_event_add_timer(wm, win, TIMER1, 1.0 / 100.0); ok = true; diff --git a/source/blender/editors/mesh/editmesh_select.c b/source/blender/editors/mesh/editmesh_select.c index c8449644dd0..903e50bf668 100644 --- a/source/blender/editors/mesh/editmesh_select.c +++ b/source/blender/editors/mesh/editmesh_select.c @@ -995,7 +995,7 @@ bool EDBM_unified_findnearest(ViewContext *vc, /* -------------------------------------------------------------------- */ /** \name Alternate Find Nearest Vert/Edge (optional boundary) * - * \note This uses ray-cast method instead of backbuffer, + * \note This uses ray-cast method instead of back-buffer, * currently used for poly-build. * \{ */ diff --git a/source/blender/editors/object/object_vgroup.c b/source/blender/editors/object/object_vgroup.c index 6362662c4e7..2296e158cc8 100644 --- a/source/blender/editors/object/object_vgroup.c +++ b/source/blender/editors/object/object_vgroup.c @@ -2422,7 +2422,7 @@ void ED_vgroup_mirror(Object *ob, BM_mesh_elem_hflag_disable_all(em->bm, BM_VERT, BM_ELEM_TAG, false); - /* Go through the list of editverts and assign them */ + /* Go through the list of edit-vertices and assign them. */ BM_ITER_MESH (eve, &iter, em->bm, BM_VERTS_OF_MESH) { if (!BM_elem_flag_test(eve, BM_ELEM_TAG)) { if ((eve_mirr = EDBM_verts_mirror_get(em, eve))) { @@ -2602,7 +2602,7 @@ static void vgroup_assign_verts(Object *ob, const float weight) cd_dvert_offset = CustomData_get_offset(&em->bm->vdata, CD_MDEFORMVERT); - /* Go through the list of editverts and assign them */ + /* Go through the list of edit-vertices and assign them. */ BM_ITER_MESH (eve, &iter, em->bm, BM_VERTS_OF_MESH) { if (BM_elem_flag_test(eve, BM_ELEM_SELECT)) { MDeformVert *dv; diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 244d8c10e4e..0fc7e713bac 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -5083,7 +5083,7 @@ static void SCREEN_OT_delete(wmOperatorType *ot) /** \name Region Alpha Blending Operator * * Implementation note: a disappearing region needs at least 1 last draw with - * 100% backbuffer texture over it - then triple buffer will clear it entirely. + * 100% back-buffer texture over it - then triple buffer will clear it entirely. * This because flag #RGN_FLAG_HIDDEN is set in end - region doesn't draw at all then. * * \{ */ diff --git a/source/blender/editors/space_file/file_ops.c b/source/blender/editors/space_file/file_ops.c index 1ba9716a194..985c92f19b6 100644 --- a/source/blender/editors/space_file/file_ops.c +++ b/source/blender/editors/space_file/file_ops.c @@ -2230,8 +2230,7 @@ static int file_directory_new_exec(bContext *C, wmOperator *op) params->rename_flag = FILE_PARAMS_RENAME_PENDING; } - /* set timer to smoothly view newly generated file */ - /* max 30 frs/sec */ + /* Set timer to smoothly view newly generated file. */ if (sfile->smoothscroll_timer != NULL) { WM_event_remove_timer(wm, CTX_wm_window(C), sfile->smoothscroll_timer); } diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index ddb57a916af..12fb96c0737 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -2156,7 +2156,7 @@ bool ED_view3d_clipping_test(const RegionView3D *rv3d, const float co[3], const /** \} */ /* -------------------------------------------------------------------- */ -/** \name Backdraw for Selection +/** \name Back-Draw for Selection * \{ */ /** @@ -2200,7 +2200,7 @@ static void validate_object_select_id(struct Depsgraph *depsgraph, } /* TODO: Create a flag in `DRW_manager` because the drawing is no longer - * made on the backbuffer in this case. */ + * made on the back-buffer in this case. */ v3d->flag &= ~V3D_INVALID_BACKBUF; } @@ -2229,7 +2229,7 @@ static void view3d_opengl_read_Z_pixels(GPUViewport *viewport, rcti *rect, void void ED_view3d_select_id_validate(ViewContext *vc) { /* TODO: Create a flag in `DRW_manager` because the drawing is no longer - * made on the backbuffer in this case. */ + * made on the back-buffer in this case. */ if (vc->v3d->flag & V3D_INVALID_BACKBUF) { validate_object_select_id(vc->depsgraph, vc->view_layer, vc->region, vc->v3d, vc->obact); } |