diff options
author | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-12-03 02:16:04 +0300 |
---|---|---|
committer | Aaron Carlisle <carlisle.b3d@gmail.com> | 2020-12-03 02:16:23 +0300 |
commit | dc4feed59dda2b2b346136d369ce70e1756e87c3 (patch) | |
tree | 10a65ebb436ec09f1501036f5d03900629c137de /source/blender/editors/space_view3d | |
parent | cba5137f32f925d8216288ef6708707e98f5aef0 (diff) |
Cleanup: view-port --> 2D/3D Viewport
Diffstat (limited to 'source/blender/editors/space_view3d')
4 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 3b5dc3f57b9..797c7d73df3 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -848,7 +848,7 @@ void ED_view3d_draw_depth(Depsgraph *depsgraph, ARegion *region, View3D *v3d, bo /* get surface depth without bias */ rv3d->rflag |= RV3D_ZOFFSET_DISABLED; - /* Needed in cases the view-port isn't already setup. */ + /* Needed in cases the 3D Viewport isn't already setup. */ WM_draw_region_viewport_ensure(region, SPACE_VIEW3D); WM_draw_region_viewport_bind(region); diff --git a/source/blender/editors/space_view3d/view3d_edit.c b/source/blender/editors/space_view3d/view3d_edit.c index f9de462813f..9429da342a6 100644 --- a/source/blender/editors/space_view3d/view3d_edit.c +++ b/source/blender/editors/space_view3d/view3d_edit.c @@ -222,7 +222,7 @@ typedef struct ViewOpsData { /** Current state. */ struct { /** Working copy of #RegionView3D.viewquat, needed for rotation calculation - * so we can apply snap to the view-port while keeping the unsnapped rotation + * so we can apply snap to the 3D Viewport while keeping the unsnapped rotation * here to use when snap is disabled and for continued calculation. */ float viewquat[4]; } curr; diff --git a/source/blender/editors/space_view3d/view3d_intern.h b/source/blender/editors/space_view3d/view3d_intern.h index 0815850d694..118ec2425fc 100644 --- a/source/blender/editors/space_view3d/view3d_intern.h +++ b/source/blender/editors/space_view3d/view3d_intern.h @@ -171,7 +171,7 @@ bool ED_view3d_boundbox_clip_ex(const RegionView3D *rv3d, bool ED_view3d_boundbox_clip(RegionView3D *rv3d, const struct BoundBox *bb); /** - * Parameters for setting the new view-port state. + * Parameters for setting the new 3D Viewport state. * * Each of the struct members may be NULL to signify they aren't to be adjusted. */ diff --git a/source/blender/editors/space_view3d/view3d_utils.c b/source/blender/editors/space_view3d/view3d_utils.c index a70e74665c5..1be9bd27c7a 100644 --- a/source/blender/editors/space_view3d/view3d_utils.c +++ b/source/blender/editors/space_view3d/view3d_utils.c @@ -574,11 +574,11 @@ bool ED_view3d_persp_ensure(const Depsgraph *depsgraph, View3D *v3d, ARegion *re /* -------------------------------------------------------------------- */ /** \name Camera Lock API * - * Lock the camera to the view-port, allowing view manipulation to transform the camera. + * Lock the camera to the 3D Viewport, allowing view manipulation to transform the camera. * \{ */ /** - * \return true when the view-port is locked to its camera. + * \return true when the 3D Viewport is locked to its camera. */ bool ED_view3d_camera_lock_check(const View3D *v3d, const RegionView3D *rv3d) { @@ -587,8 +587,8 @@ bool ED_view3d_camera_lock_check(const View3D *v3d, const RegionView3D *rv3d) } /** - * Apply the camera object transformation to the view-port. - * (needed so we can use regular view-port manipulation operators, that sync back to the camera). + * Apply the camera object transformation to the 3D Viewport. + * (needed so we can use regular 3D Viewport manipulation operators, that sync back to the camera). */ void ED_view3d_camera_lock_init_ex(const Depsgraph *depsgraph, View3D *v3d, @@ -612,7 +612,7 @@ void ED_view3d_camera_lock_init(const Depsgraph *depsgraph, View3D *v3d, RegionV } /** - * Apply the view-port transformation back to the camera object. + * Apply the 3D Viewport transformation back to the camera object. * * \return true if the camera is moved. */ |