diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-04 02:29:53 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-04 02:31:11 +0300 |
commit | 8b06c524d207f5e67ef22d6a1869c94d8f91717f (patch) | |
tree | 3a89ed263632daa2b9bd49971ef45dee46744375 /source/blender/editors/transform | |
parent | fd2519e0b6948903892c3cfc373c903337979407 (diff) |
Cleanup: spelling in comments, function name
Diffstat (limited to 'source/blender/editors/transform')
3 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/transform/transform_mode_timescale.c b/source/blender/editors/transform/transform_mode_timescale.c index a4f46803143..4130f6dc034 100644 --- a/source/blender/editors/transform/transform_mode_timescale.c +++ b/source/blender/editors/transform/transform_mode_timescale.c @@ -123,12 +123,12 @@ void initTimeScale(TransInfo *t) t->flag |= T_NULL_ONE; t->num.val_flag[0] |= NUM_NULL_ONE; - /* num-input has max of (n-1) */ + /* Numeric-input has max of (n-1). */ t->idx_max = 0; t->num.flag = 0; t->num.idx_max = t->idx_max; - /* initialize snap like for everything else */ + /* Initialize snap like for everything else. */ t->snap[0] = t->snap[1] = 1.0f; copy_v3_fl(t->num.val_inc, t->snap[0]); diff --git a/source/blender/editors/transform/transform_mode_timeslide.c b/source/blender/editors/transform/transform_mode_timeslide.c index 4d40c427ef7..d442c12574b 100644 --- a/source/blender/editors/transform/transform_mode_timeslide.c +++ b/source/blender/editors/transform/transform_mode_timeslide.c @@ -203,17 +203,17 @@ void initTimeSlide(TransInfo *t) range[1] = max; } - /* num-input has max of (n-1) */ + /* Numeric-input has max of (n-1). */ t->idx_max = 0; t->num.flag = 0; t->num.idx_max = t->idx_max; - /* initialize snap like for everything else */ + /* Initialize snap like for everything else. */ t->snap[0] = t->snap[1] = 1.0f; copy_v3_fl(t->num.val_inc, t->snap[0]); t->num.unit_sys = t->scene->unit.system; - /* No time unit supporting frames currently... */ + /* No time unit supporting frames currently. */ t->num.unit_type[0] = B_UNIT_NONE; } diff --git a/source/blender/editors/transform/transform_mode_timetranslate.c b/source/blender/editors/transform/transform_mode_timetranslate.c index ea002129d0c..801d79e3fc7 100644 --- a/source/blender/editors/transform/transform_mode_timetranslate.c +++ b/source/blender/editors/transform/transform_mode_timetranslate.c @@ -129,17 +129,17 @@ void initTimeTranslate(TransInfo *t) initMouseInputMode(t, &t->mouse, INPUT_NONE); - /* num-input has max of (n-1) */ + /* Numeric-input has max of (n-1). */ t->idx_max = 0; t->num.flag = 0; t->num.idx_max = t->idx_max; - /* initialize snap like for everything else */ + /* Initialize snap like for everything else. */ t->snap[0] = t->snap[1] = 1.0f; copy_v3_fl(t->num.val_inc, t->snap[0]); t->num.unit_sys = t->scene->unit.system; - /* No time unit supporting frames currently... */ + /* No time unit supporting frames currently. */ t->num.unit_type[0] = B_UNIT_NONE; } |