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 <ideasman42@gmail.com>2021-07-01 04:16:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-07-01 04:16:25 +0300
commitaa112dc77c67e90aa2fe470bd141e40cb65ec1ef (patch)
tree7bed9160425f0ca29d94912c792c2155fcbfbf23 /source/blender/editors/space_view3d/view3d_navigate_fly.c
parent39188f3c9953c887f0d4bcf21387ec09c08ef4f3 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_navigate_fly.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_navigate_fly.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/space_view3d/view3d_navigate_fly.c b/source/blender/editors/space_view3d/view3d_navigate_fly.c
index fd4fd5051b1..e2fa0fdc6a5 100644
--- a/source/blender/editors/space_view3d/view3d_navigate_fly.c
+++ b/source/blender/editors/space_view3d/view3d_navigate_fly.c
@@ -808,10 +808,10 @@ static int flyApply(bContext *C, FlyInfo *fly, bool is_confirm)
moffset[1] = 0;
}
- /* scale the mouse movement by this value - scales mouse movement to the view size
- * moffset[0] / (region->winx-xmargin * 2) - window size minus margin (same for y)
+ /* Scale the mouse movement by this value - scales mouse movement to the view size
+ * `moffset[0] / (region->winx-xmargin * 2)` - window size minus margin (same for y)
*
- * the mouse moves isn't linear */
+ * the mouse moves isn't linear. */
if (moffset[0]) {
moffset[0] /= fly->width - (xmargin * 2);