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')
-rw-r--r--source/blender/editors/space_view3d/view3d_camera_control.c2
-rw-r--r--source/blender/editors/space_view3d/view3d_edit.c6
-rw-r--r--source/blender/editors/space_view3d/view3d_fly.c2
-rw-r--r--source/blender/editors/space_view3d/view3d_placement.c4
-rw-r--r--source/blender/editors/space_view3d/view3d_view.c4
5 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/editors/space_view3d/view3d_camera_control.c b/source/blender/editors/space_view3d/view3d_camera_control.c
index 0edd6aeb2ca..0b232d525fa 100644
--- a/source/blender/editors/space_view3d/view3d_camera_control.c
+++ b/source/blender/editors/space_view3d/view3d_camera_control.c
@@ -140,7 +140,7 @@ struct View3DCameraControl *ED_view3d_cameracontrol_acquire(Depsgraph *depsgraph
vctrl->persp_backup = rv3d->persp;
vctrl->dist_backup = rv3d->dist;
- /* check for flying ortho camera - which we cant support well
+ /* check for flying ortho camera - which we can't support well
* we _could_ also check for an ortho camera but this is easier */
if ((rv3d->persp == RV3D_CAMOB) && (rv3d->is_persp == false)) {
((Camera *)v3d->camera->data)->type = CAM_PERSP;
diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c
index ab0683644c3..53fc7eed43b 100644
--- a/source/blender/editors/space_view3d/view3d_edit.c
+++ b/source/blender/editors/space_view3d/view3d_edit.c
@@ -509,7 +509,7 @@ static void viewops_data_create(bContext *C,
negate_v3_v3(my_origin, rv3d->ofs); /* ofs is flipped */
/* Set the dist value to be the distance from this 3d point this means you'll
- * always be able to zoom into it and panning wont go bad when dist was zero. */
+ * always be able to zoom into it and panning won't go bad when dist was zero. */
/* remove dist value */
upvec[0] = upvec[1] = 0;
@@ -895,7 +895,7 @@ static void viewrotate_apply(ViewOpsData *vod, const int event_xy[2])
copy_qt_qt(rv3d->viewquat, vod->curr.viewquat);
/* check for view snap,
- * note: don't apply snap to vod->viewquat so the view wont jam up */
+ * note: don't apply snap to vod->viewquat so the view won't jam up */
if (vod->axis_snap) {
viewrotate_apply_snap(vod);
}
@@ -3647,7 +3647,7 @@ static int view3d_zoom_border_exec(bContext *C, wmOperator *op)
if (rv3d->is_persp) {
float p_corner[3];
- /* no depths to use, we cant do anything! */
+ /* no depths to use, we can't do anything! */
if (depth_close == FLT_MAX) {
BKE_report(op->reports, RPT_ERROR, "Depth too large");
return OPERATOR_CANCELLED;
diff --git a/source/blender/editors/space_view3d/view3d_fly.c b/source/blender/editors/space_view3d/view3d_fly.c
index 2d499cf85c7..d42746c168c 100644
--- a/source/blender/editors/space_view3d/view3d_fly.c
+++ b/source/blender/editors/space_view3d/view3d_fly.c
@@ -772,7 +772,7 @@ static int flyApply(bContext *C, FlyInfo *fly, bool is_confirm)
float moffset[2]; /* mouse offset from the views center */
float tmp_quat[4]; /* used for rotating the view */
- /* x and y margin are define the safe area where the mouses movement wont rotate the view */
+ /* x and y margin defining the safe area where the mouse's movement won't rotate the view */
int xmargin, ymargin;
#ifdef NDOF_FLY_DEBUG
diff --git a/source/blender/editors/space_view3d/view3d_placement.c b/source/blender/editors/space_view3d/view3d_placement.c
index e602521f6a2..04f382de56b 100644
--- a/source/blender/editors/space_view3d/view3d_placement.c
+++ b/source/blender/editors/space_view3d/view3d_placement.c
@@ -961,7 +961,7 @@ static void view3d_interactive_add_calc_plane(bContext *C,
const float view_axis_dot = fabsf(dot_v3v3(rv3d->viewinv[2], r_matrix_orient[plane_axis]));
if (view_axis_dot < eps_view_align) {
/* In this case, just project onto the view plane as it's important the location
- * is _always_ under the mouse cursor, even if it turns out that wont lie on
+ * is _always_ under the mouse cursor, even if it turns out that won't lie on
* the original 'plane' that's been calculated for us. */
plane_normal = rv3d->viewinv[2];
}
@@ -974,7 +974,7 @@ static void view3d_interactive_add_calc_plane(bContext *C,
/* Even if the calculation works, it's possible the point found is behind the view,
* or very far away (past the far clipping).
- * In either case creating objects wont be useful. */
+ * In either case creating objects won't be useful. */
if (rv3d->is_persp) {
float dir[3];
sub_v3_v3v3(dir, rv3d->viewinv[3], r_co_src);
diff --git a/source/blender/editors/space_view3d/view3d_view.c b/source/blender/editors/space_view3d/view3d_view.c
index b2db4de8d7e..056b2507745 100644
--- a/source/blender/editors/space_view3d/view3d_view.c
+++ b/source/blender/editors/space_view3d/view3d_view.c
@@ -235,7 +235,7 @@ void ED_view3d_smooth_view_ex(
/* grid draw as floor */
if ((RV3D_LOCK_FLAGS(rv3d) & RV3D_LOCK_ROTATION) == 0) {
/* use existing if exists, means multiple calls to smooth view
- * wont lose the original 'view' setting */
+ * won't lose the original 'view' setting */
rv3d->view = RV3D_VIEW_USER;
}
@@ -244,7 +244,7 @@ void ED_view3d_smooth_view_ex(
/* if this is view rotation only
* we can decrease the time allowed by
* the angle between quats
- * this means small rotations wont lag */
+ * this means small rotations won't lag */
if (sview->quat && !sview->ofs && !sview->dist) {
/* scale the time allowed by the rotation */
/* 180deg == 1.0 */