diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-28 08:44:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-28 08:46:08 +0300 |
commit | 1d8648b13a0667d338a4e60df004be7e41525968 (patch) | |
tree | 763c9e0b843850f6894101c8ad02a6bff34b5497 /source/blender/editors/space_view3d | |
parent | 23c4854f45d7cafa1cfadf13556b9277d4666bd1 (diff) |
Cleanup: repeated terms in code comments & error messages
Diffstat (limited to 'source/blender/editors/space_view3d')
5 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/editors/space_view3d/space_view3d.c b/source/blender/editors/space_view3d/space_view3d.c index c9f345b3123..6ce13f83cf3 100644 --- a/source/blender/editors/space_view3d/space_view3d.c +++ b/source/blender/editors/space_view3d/space_view3d.c @@ -1617,7 +1617,7 @@ static int view3d_context(const bContext *C, const char *member, bContextDataRes * This is ignored in the case the object is in any mode (besides object-mode), * since the object's mode impacts the current tool, cursor, gizmos etc. * If we didn't have this exception, changing visibility would need to perform - * many of the the same updates as changing the objects mode. + * many of the same updates as changing the objects mode. * * Further, there are multiple ways to hide objects - by collection, by object type, etc. * it's simplest if all these methods behave consistently - respecting the object-mode diff --git a/source/blender/editors/space_view3d/view3d_fly.c b/source/blender/editors/space_view3d/view3d_fly.c index 91f3388cac9..c0a95f24f08 100644 --- a/source/blender/editors/space_view3d/view3d_fly.c +++ b/source/blender/editors/space_view3d/view3d_fly.c @@ -189,7 +189,7 @@ typedef struct FlyInfo { wmNDOFMotionData *ndof; #endif - /* fly state state */ + /* Fly state. */ /** The speed the view is moving per redraw. */ float speed; /** Axis index to move along by default Z to move along the view. */ @@ -758,7 +758,7 @@ static int flyApply(bContext *C, FlyInfo *fly, bool is_confirm) #define FLY_SMOOTH_FAC 20.0f /* higher value less lag */ /* fly mode - Shift+F - * a fly loop where the user can move move the view as if they are flying + * a fly loop where the user can move the view as if they are flying */ RegionView3D *rv3d = fly->rv3d; diff --git a/source/blender/editors/space_view3d/view3d_iterators.c b/source/blender/editors/space_view3d/view3d_iterators.c index 2a381bb96cb..c7a4030c402 100644 --- a/source/blender/editors/space_view3d/view3d_iterators.c +++ b/source/blender/editors/space_view3d/view3d_iterators.c @@ -242,7 +242,7 @@ typedef struct foreachScreenEdge_userData { rctf win_rect; /* copy of: vc.region->winx/winy, use for faster tests, minx/y will always be 0 */ /** - * Clip plans defined by the the view bounds, + * Clip plans defined by the view bounds, * use when #V3D_PROJ_TEST_CLIP_CONTENT is enabled. */ float content_planes[6][4]; diff --git a/source/blender/editors/space_view3d/view3d_placement.c b/source/blender/editors/space_view3d/view3d_placement.c index 2186cdb3162..1ea7993572d 100644 --- a/source/blender/editors/space_view3d/view3d_placement.c +++ b/source/blender/editors/space_view3d/view3d_placement.c @@ -1957,7 +1957,7 @@ struct PlacementCursor { /** * Enable this while the modal operator is running, - * so the preview-plane doesn't show at the same time time as add-object preview shape + * so the preview-plane doesn't show at the same time as add-object preview shape * since it's distracting & not helpful. */ bool do_draw; diff --git a/source/blender/editors/space_view3d/view3d_walk.c b/source/blender/editors/space_view3d/view3d_walk.c index fd99619f9e2..84515d4a39b 100644 --- a/source/blender/editors/space_view3d/view3d_walk.c +++ b/source/blender/editors/space_view3d/view3d_walk.c @@ -234,7 +234,7 @@ typedef struct WalkInfo { wmNDOFMotionData *ndof; #endif - /* walk state state */ + /* Walk state. */ /** The base speed without run/slow down modifications. */ float base_speed; /** The speed the view is moving per redraw. */ |