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-02-04 08:06:15 +0300
committerCampbell Barton <campbell@blender.org>2022-02-04 08:07:24 +0300
commit5a4eadc2e7cd607c83f7039609d8a27495efb20a (patch)
tree97f54ae70c8bd3bf2a92f3b7ccfb8ddfbc8404a2 /source/blender/editors/space_view3d/view3d_navigate.c
parent39a1b51efd4e4e163265fdfe69929c7573b57aa3 (diff)
Cleanup: spelling in comments
Also update viewport comments.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_navigate.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_navigate.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_view3d/view3d_navigate.c b/source/blender/editors/space_view3d/view3d_navigate.c
index 7818a062eb5..9b7304a6741 100644
--- a/source/blender/editors/space_view3d/view3d_navigate.c
+++ b/source/blender/editors/space_view3d/view3d_navigate.c
@@ -254,7 +254,7 @@ bool view3d_orbit_calc_center(bContext *C, float r_dyn_ofs[3])
}
}
else {
- /* If there's no selection, lastofs is unmodified and last value since static */
+ /* If there's no selection, `lastofs` is unmodified and last value since static. */
is_set = calculateTransformCenter(C, V3D_AROUND_CENTER_MEDIAN, lastofs, NULL);
}
@@ -300,7 +300,7 @@ void viewops_data_create(bContext *C,
if (viewops_flag & VIEWOPS_FLAG_DEPTH_NAVIGATE) {
float fallback_depth_pt[3];
- view3d_operator_needs_opengl(C); /* needed for zbuf drawing */
+ view3d_operator_needs_opengl(C); /* Needed for Z-buffer drawing. */
negate_v3_v3(fallback_depth_pt, rv3d->ofs);
@@ -356,8 +356,8 @@ void viewops_data_create(bContext *C,
if (viewops_flag & VIEWOPS_FLAG_DEPTH_NAVIGATE) {
if (vod->use_dyn_ofs) {
if (rv3d->is_persp) {
- float my_origin[3]; /* original G.vd->ofs */
- float my_pivot[3]; /* view */
+ float my_origin[3]; /* Original #RegionView3D.ofs. */
+ float my_pivot[3]; /* View pivot. */
float dvec[3];
/* locals for dist correction */