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:
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);