diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-07-17 03:23:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-07-17 03:23:33 +0400 |
commit | 32cf7fcdb147d4f467279109db384b9a9d3c6708 (patch) | |
tree | a6a899e8a801c7c8975289de99137626e21143ef /source/blender/editors | |
parent | 1f96470b5d80f05aef1dc1c262ba1a0a56a1d1fb (diff) |
code cleanup: spelling
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/animation/anim_channels_defines.c | 4 | ||||
-rw-r--r-- | source/blender/editors/interface/view2d.c | 2 | ||||
-rw-r--r-- | source/blender/editors/object/object_group.c | 2 | ||||
-rw-r--r-- | source/blender/editors/physics/physics_fluid.c | 2 | ||||
-rw-r--r-- | source/blender/editors/screen/screen_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_ops.c | 2 | ||||
-rw-r--r-- | source/blender/editors/space_view3d/drawobject.c | 4 |
7 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/animation/anim_channels_defines.c b/source/blender/editors/animation/anim_channels_defines.c index a21154bde1b..fe5558c6f53 100644 --- a/source/blender/editors/animation/anim_channels_defines.c +++ b/source/blender/editors/animation/anim_channels_defines.c @@ -851,7 +851,7 @@ static int acf_group_setting_flag(bAnimContext *ac, int setting, short *neg) // *neg = 1; - if we change this to edtiability return AGRP_PROTECTED; - case ACHANNEL_SETTING_VISIBLE: /* visiblity - graph editor */ + case ACHANNEL_SETTING_VISIBLE: /* visibility - graph editor */ *neg = 1; return AGRP_NOTVISIBLE; } @@ -939,7 +939,7 @@ static int acf_fcurve_setting_flag(bAnimContext *UNUSED(ac), int setting, short // *neg = 1; - if we change this to edtiability return FCURVE_PROTECTED; - case ACHANNEL_SETTING_VISIBLE: /* visiblity - graph editor */ + case ACHANNEL_SETTING_VISIBLE: /* visibility - graph editor */ return FCURVE_VISIBLE; default: /* unsupported */ diff --git a/source/blender/editors/interface/view2d.c b/source/blender/editors/interface/view2d.c index 47e91f4c659..a693e9eb627 100644 --- a/source/blender/editors/interface/view2d.c +++ b/source/blender/editors/interface/view2d.c @@ -1818,7 +1818,7 @@ void UI_view2d_scrollers_free(View2DScrollers *scrollers) * This should be (0,0) for most views. However, for those where the starting row was offsetted * (like for Animation Editor channel lists, to make the first entry more visible), these will be * the min-coordinates of the first item. - * - column, row = the 2d-corodinates (in 2D-view / 'tot' rect space) the cell exists at + * - column, row = the 2d-coordinates (in 2D-view / 'tot' rect space) the cell exists at * - rect = coordinates of the cell (passed as single var instead of 4 separate, as it's more useful this way) */ void UI_view2d_listview_cell_to_view(View2D *v2d, short columnwidth, short rowheight, float startx, float starty, int column, int row, rctf *rect) diff --git a/source/blender/editors/object/object_group.c b/source/blender/editors/object/object_group.c index c9851c6a0db..7328cdbf9f2 100644 --- a/source/blender/editors/object/object_group.c +++ b/source/blender/editors/object/object_group.c @@ -202,7 +202,7 @@ static int group_objects_remove_exec(bContext *C, wmOperator *op) Scene *scene = CTX_data_scene(C); int group_object_index = RNA_enum_get(op->ptr, "group"); - /* first get the group back from the enum index, quite awkward and UI spesific */ + /* first get the group back from the enum index, quite awkward and UI specific */ if (ob) { Group *group = NULL; int i = 0; diff --git a/source/blender/editors/physics/physics_fluid.c b/source/blender/editors/physics/physics_fluid.c index 1fe533eb23f..dc2f70189e7 100644 --- a/source/blender/editors/physics/physics_fluid.c +++ b/source/blender/editors/physics/physics_fluid.c @@ -913,7 +913,7 @@ static int fluidsimBake(bContext *C, ReportList *reports, Object *fsDomain, shor return 0; } - /* these both have to be valid, otherwise we wouldnt be here */ + /* these both have to be valid, otherwise we wouldn't be here */ fluidmd = (FluidsimModifierData *)modifiers_findByType(fsDomain, eModifierType_Fluidsim); domainSettings = fluidmd->fss; mesh = fsDomain->data; diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index c97e91f74b6..2391d6c909e 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -3017,7 +3017,7 @@ static int screen_animation_step(bContext *C, wmOperator *UNUSED(op), wmEvent *e } } - /* next frame overriden by user action (pressed jump to first/last frame) */ + /* next frame overridden by user action (pressed jump to first/last frame) */ if (sad->flag & ANIMPLAY_FLAG_USE_NEXT_FRAME) { scene->r.cfra = sad->nextfra; sad->flag &= ~ANIMPLAY_FLAG_USE_NEXT_FRAME; diff --git a/source/blender/editors/sculpt_paint/paint_ops.c b/source/blender/editors/sculpt_paint/paint_ops.c index 7df6a893b5c..560174e73ae 100644 --- a/source/blender/editors/sculpt_paint/paint_ops.c +++ b/source/blender/editors/sculpt_paint/paint_ops.c @@ -604,7 +604,7 @@ void paint_partial_visibility_keys(wmKeyMap *keymap) { wmKeyMapItem *kmi; - /* Partial visiblity */ + /* Partial visibility */ kmi = WM_keymap_add_item(keymap, "PAINT_OT_hide_show", HKEY, KM_PRESS, KM_SHIFT, 0); RNA_enum_set(kmi->ptr, "action", PARTIALVIS_SHOW); RNA_enum_set(kmi->ptr, "area", PARTIALVIS_INSIDE); diff --git a/source/blender/editors/space_view3d/drawobject.c b/source/blender/editors/space_view3d/drawobject.c index c1b2e2f07e2..8d5dbb51be7 100644 --- a/source/blender/editors/space_view3d/drawobject.c +++ b/source/blender/editors/space_view3d/drawobject.c @@ -2843,7 +2843,7 @@ static void draw_em_fancy_edges(BMEditMesh *em, Scene *scene, View3D *v3d, int pass; unsigned char wireCol[4], selCol[4], actCol[4]; - /* since this function does transparant... */ + /* since this function does transparent... */ UI_GetThemeColor4ubv(TH_EDGE_SELECT, selCol); UI_GetThemeColor4ubv(TH_WIRE, wireCol); UI_GetThemeColor4ubv(TH_EDITMESH_ACTIVE, actCol); @@ -2854,7 +2854,7 @@ static void draw_em_fancy_edges(BMEditMesh *em, Scene *scene, View3D *v3d, wireCol[3] = 0; for (pass = 0; pass < 2; pass++) { - /* show wires in transparant when no zbuf clipping for select */ + /* show wires in transparent when no zbuf clipping for select */ if (pass == 0) { if (v3d->zbuf && (v3d->flag & V3D_ZBUF_SELECT) == 0) { glEnable(GL_BLEND); |