diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-26 16:02:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-26 16:02:29 +0400 |
commit | 5e347c4f71bf220bb735e8f9b9b965ce8644d77c (patch) | |
tree | dc4a4eb26ab912df3a9e3b63bef039e8ee54cfa7 /source/blender/editors | |
parent | 1014dbaea17d4f0cb8163bfc116e5e77ab044ef1 (diff) |
code cleanup: typos
Diffstat (limited to 'source/blender/editors')
4 files changed, 10 insertions, 9 deletions
diff --git a/source/blender/editors/animation/keyframes_general.c b/source/blender/editors/animation/keyframes_general.c index 9249b912da6..2cb2f6683ef 100644 --- a/source/blender/editors/animation/keyframes_general.c +++ b/source/blender/editors/animation/keyframes_general.c @@ -541,7 +541,8 @@ short copy_animedit_keys(bAnimContext *ac, ListBase *anim_data) BLI_addtail(&animcopybuf, aci); /* add selected keyframes to buffer */ - // TODO: currently, we resize array everytime we add a new vert - this works ok as long as it is assumed only a few keys are copied + /* TODO: currently, we resize array every time we add a new vert - + * this works ok as long as it is assumed only a few keys are copied */ for (i = 0, bezt = fcu->bezt; i < fcu->totvert; i++, bezt++) { if (BEZSELECTED(bezt)) { /* add to buffer */ diff --git a/source/blender/editors/interface/view2d_ops.c b/source/blender/editors/interface/view2d_ops.c index e283bd1351a..e12817262f8 100644 --- a/source/blender/editors/interface/view2d_ops.c +++ b/source/blender/editors/interface/view2d_ops.c @@ -312,7 +312,7 @@ static void VIEW2D_OT_pan(wmOperatorType *ot) /* ------------------ Scrollwheel Versions (2) ---------------------- */ -/* this operator only needs this single callback, where it callsthe view_pan_*() methods */ +/* this operator only needs this single callback, where it calls the view_pan_*() methods */ static int view_scrollright_exec(bContext *C, wmOperator *op) { v2dViewPanData *vpd; @@ -356,7 +356,7 @@ static void VIEW2D_OT_scroll_right(wmOperatorType *ot) -/* this operator only needs this single callback, where it callsthe view_pan_*() methods */ +/* this operator only needs this single callback, where it calls the view_pan_*() methods */ static int view_scrollleft_exec(bContext *C, wmOperator *op) { v2dViewPanData *vpd; @@ -399,7 +399,7 @@ static void VIEW2D_OT_scroll_left(wmOperatorType *ot) } -/* this operator only needs this single callback, where it callsthe view_pan_*() methods */ +/* this operator only needs this single callback, where it calls the view_pan_*() methods */ static int view_scrolldown_exec(bContext *C, wmOperator *op) { v2dViewPanData *vpd; @@ -449,7 +449,7 @@ static void VIEW2D_OT_scroll_down(wmOperatorType *ot) -/* this operator only needs this single callback, where it callsthe view_pan_*() methods */ +/* this operator only needs this single callback, where it calls the view_pan_*() methods */ static int view_scrollup_exec(bContext *C, wmOperator *op) { v2dViewPanData *vpd; @@ -738,7 +738,7 @@ static void VIEW2D_OT_zoom_in(wmOperatorType *ot) RNA_def_float(ot->srna, "zoomfacy", 0, -FLT_MAX, FLT_MAX, "Zoom Factor Y", "", -FLT_MAX, FLT_MAX); } -/* this operator only needs this single callback, where it callsthe view_zoom_*() methods */ +/* this operator only needs this single callback, where it calls the view_zoom_*() methods */ static int view_zoomout_exec(bContext *C, wmOperator *op) { ScrArea *sa = CTX_wm_area(C); @@ -1175,7 +1175,7 @@ static int view_borderzoom_exec(bContext *C, wmOperator *op) */ float zoom, center, size; - /* TODO: is this zoom factor calculation valid? It seems to produce same results everytime... */ + /* TODO: is this zoom factor calculation valid? It seems to produce same results every time... */ if ((v2d->keepzoom & V2D_LOCKZOOM_X) == 0) { size = BLI_rctf_size_x(&cur_new); zoom = size / BLI_rctf_size_x(&rect); diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index bc9b1e339c6..63d533fb494 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -682,7 +682,7 @@ static void viewrotate_apply(ViewOpsData *vod, int x, int y) { RegionView3D *rv3d = vod->rv3d; - rv3d->view = RV3D_VIEW_USER; /* need to reset everytime because of view snapping */ + rv3d->view = RV3D_VIEW_USER; /* need to reset every time because of view snapping */ if (U.flag & USER_TRACKBALL) { float phi, si, q1[4], dvec[3], newvec[3]; diff --git a/source/blender/editors/space_view3d/view3d_project.c b/source/blender/editors/space_view3d/view3d_project.c index 291070d9145..00826d277bd 100644 --- a/source/blender/editors/space_view3d/view3d_project.c +++ b/source/blender/editors/space_view3d/view3d_project.c @@ -410,7 +410,7 @@ void ED_view3d_win_to_3d(const ARegion *ar, const float depth_pt[3], const float add_v3_v3v3(line_end, line_sta, mousevec); if (isect_line_plane_v3(out, line_sta, line_end, depth_pt, rv3d->viewinv[2], true) == 0) { - /* highly unlikely to ever happen, mouse vec paralelle with view plane */ + /* highly unlikely to ever happen, mouse vector parallel with view plane */ zero_v3(out); } } |