From 8765dfccf725770007e3b4e6b24199fe8377df71 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 21 Apr 2012 14:14:58 +0000 Subject: style cleanup: correct typos --- source/blender/editors/curve/editcurve.c | 2 +- source/blender/editors/interface/view2d.c | 2 +- source/blender/editors/mesh/editmesh_rip.c | 2 +- source/blender/editors/mesh/editmesh_tools.c | 2 +- source/blender/editors/screen/screen_edit.c | 2 +- source/blender/editors/sculpt_paint/sculpt.c | 2 +- source/blender/editors/util/undo.c | 2 +- source/blender/editors/uvedit/uvedit_ops.c | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index 775b28bab5b..4262b3d67d4 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -4395,7 +4395,7 @@ static int addvert_Nurb(bContext *C, short mode, float location[3]) newnu= (Nurb*)MEM_callocN(sizeof(Nurb), "addvert_Nurb newnu"); if (!nu) { - /* no selected sement -- create new one which is BEZIER tpye + /* no selected segment -- create new one which is BEZIER type * type couldn't be determined from Curve bt could be changed * in the future, so shouldn't make much headache */ newnu->type= CU_BEZIER; diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c index 7eac3050b97..ed010dc973a 100644 --- a/source/blender/editors/interface/view2d.c +++ b/source/blender/editors/interface/view2d.c @@ -159,7 +159,7 @@ static void view2d_masks(View2D *v2d) /* Initialize all relevant View2D data (including view rects if first time) and/or refresh mask sizes after view resize * - for some of these presets, it is expected that the region will have defined some - * additional settings necessary for the customisation of the 2D viewport to its requirements + * additional settings necessary for the customization of the 2D viewport to its requirements * - this function should only be called from region init() callbacks, where it is expected that * this is called before UI_view2d_size_update(), as this one checks that the rects are properly initialized. */ diff --git a/source/blender/editors/mesh/editmesh_rip.c b/source/blender/editors/mesh/editmesh_rip.c index 946eaf8d3c8..fbbe376a18f 100644 --- a/source/blender/editors/mesh/editmesh_rip.c +++ b/source/blender/editors/mesh/editmesh_rip.c @@ -635,7 +635,7 @@ static int edbm_rip_invoke__edge(bContext *C, wmOperator *op, wmEvent *event) BMLoop *l_a = e2->l; BMLoop *l_b = l_a->radial_next; - /* find the best face to follow, this wat the edge won't point away from + /* find the best face to follow, this what the edge won't point away from * the mouse when there are more then 4 (takes the shortest face fan around) */ l = (edbm_rip_edge_side_measure(e2, l_a, ar, projectMat, fmval) < edbm_rip_edge_side_measure(e2, l_b, ar, projectMat, fmval)) ? l_a : l_b; diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 4b064d8bcc6..e40a60203af 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -3624,7 +3624,7 @@ void MESH_OT_select_mirror(wmOperatorType *ot) /* qsort routines. not sure how to make these * work, since we aren't using linked lists for - * geometry anymore. might need a sortof "swap" + * geometry anymore. might need a sort of "swap" * function for bmesh elements. */ /* TODO All this section could probably use a refresh... diff --git a/source/blender/editors/screen/screen_edit.c b/source/blender/editors/screen/screen_edit.c index 1b56feb09d1..03d8b3d3e9c 100644 --- a/source/blender/editors/screen/screen_edit.c +++ b/source/blender/editors/screen/screen_edit.c @@ -1827,7 +1827,7 @@ void ED_update_for_newframe(Main *bmain, Scene *scene, bScreen *screen, int UNUS //extern void audiostream_scrub(unsigned int frame); /* seqaudio.c */ /* update animated image textures for gpu, etc, - * call before scene_update_for_newframe so modifiers with textuers don't lag 1 frame */ + * call before scene_update_for_newframe so modifiers with textures don't lag 1 frame */ ED_image_update_frame(bmain, scene->r.cfra); ED_clip_update_frame(bmain, scene->r.cfra); diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index bee4f0b754d..5a64c30b79d 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -3041,7 +3041,7 @@ static void sculpt_update_cache_variants(bContext *C, Sculpt *sd, Object *ob, cache->pen_flip = RNA_boolean_get(ptr, "pen_flip"); RNA_float_get_array(ptr, "mouse", cache->mouse); - /* XXX: Use preassure value from first brush step for brushes which don't + /* XXX: Use pressure value from first brush step for brushes which don't * support strokes (grab, thumb). They depends on initial state and * brush coord/pressure/etc. * It's more an events design issue, which doesn't split coordinate/pressure/angle diff --git a/source/blender/editors/util/undo.c b/source/blender/editors/util/undo.c index 5f0fc9d105c..a43d549cba1 100644 --- a/source/blender/editors/util/undo.c +++ b/source/blender/editors/util/undo.c @@ -459,7 +459,7 @@ static EnumPropertyItem *rna_undo_itemf(bContext *C, int undosys, int *totitem) if (name) { item_tmp.identifier = name; - /* XXX This won’t work with non-default contexts (e.g. operators) :/ */ + /* XXX This won't work with non-default contexts (e.g. operators) :/ */ item_tmp.name = IFACE_(name); if (active) item_tmp.icon = ICON_RESTRICT_VIEW_OFF; diff --git a/source/blender/editors/uvedit/uvedit_ops.c b/source/blender/editors/uvedit/uvedit_ops.c index 969fa684c80..a53a42b616b 100644 --- a/source/blender/editors/uvedit/uvedit_ops.c +++ b/source/blender/editors/uvedit/uvedit_ops.c @@ -1510,7 +1510,7 @@ static void weld_align_uv(bContext *C, int tool) /* Projection of point (x, y) over line (x1, y1, x2, y2) along X axis: * new_y = (y2 - y1) / (x2 - x1) * (x - x1) + y1 * Maybe this should be a BLI func? Or is it already existing? - * Could use interp_v2_v2v2, but not sure it’s worth it here...*/ + * Could use interp_v2_v2v2, but not sure it's worth it here...*/ if (tool == 't') luv->uv[0] = a * (luv->uv[1] - uv_start[1]) + uv_start[0]; else if (tool == 'u') -- cgit v1.2.3