Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-03-04 02:29:53 +0300
committerCampbell Barton <campbell@blender.org>2022-03-04 02:31:11 +0300
commit8b06c524d207f5e67ef22d6a1869c94d8f91717f (patch)
tree3a89ed263632daa2b9bd49971ef45dee46744375 /source/blender/editors/transform/transform_mode_timescale.c
parentfd2519e0b6948903892c3cfc373c903337979407 (diff)
Cleanup: spelling in comments, function name
Diffstat (limited to 'source/blender/editors/transform/transform_mode_timescale.c')
-rw-r--r--source/blender/editors/transform/transform_mode_timescale.c4
1 files changed, 2 insertions, 2 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]);