diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-13 08:22:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-13 08:22:20 +0300 |
commit | 36c6b2e893b89f6b378f60fb975f73d47b248027 (patch) | |
tree | aad54a27e5150753bbcaba72d6ed388e9d72cf4b /source/blender/editors | |
parent | 8ad2642c4717dcfad31626f7eebac325a9827b73 (diff) |
Cleanup: spelling in comments
Also move notes about where noise functions come from
into the function body as it's not relavant to the public doc-string.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/include/ED_mesh.h | 4 | ||||
-rw-r--r-- | source/blender/editors/include/ED_view3d.h | 2 | ||||
-rw-r--r-- | source/blender/editors/screen/screen_intern.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/include/ED_mesh.h b/source/blender/editors/include/ED_mesh.h index e6a064a3f51..35838f4ce48 100644 --- a/source/blender/editors/include/ED_mesh.h +++ b/source/blender/editors/include/ED_mesh.h @@ -229,7 +229,7 @@ void EDBM_select_mirrored(struct BMEditMesh *em, * actual distance. * \param use_select_bias: * - When true, selected vertices are given a 5 pixel bias - * to make them further than unselect verts. + * to make them further than unselected vertices. * - When false, unselected vertices are given the bias. * \param use_cycle: Cycle over elements within #FIND_NEAR_CYCLE_THRESHOLD_MIN in order of index. */ @@ -570,7 +570,7 @@ bool ED_mesh_uv_texture_remove_active(struct Mesh *me); bool ED_mesh_uv_texture_remove_named(struct Mesh *me, const char *name); void ED_mesh_uv_loop_reset(struct bContext *C, struct Mesh *me); /** - * Without bContext, called in uvedit. + * Without a #bContext, called when UV-editing. */ void ED_mesh_uv_loop_reset_ex(struct Mesh *me, const int layernum); bool ED_mesh_color_ensure(struct Mesh *me, const char *name); diff --git a/source/blender/editors/include/ED_view3d.h b/source/blender/editors/include/ED_view3d.h index 11a8b11c35a..a4f07248d71 100644 --- a/source/blender/editors/include/ED_view3d.h +++ b/source/blender/editors/include/ED_view3d.h @@ -1161,7 +1161,7 @@ float ED_view3d_offset_distance(const float mat[4][4], /** * Set the dist without moving the view (compensate with #RegionView3D.ofs) * - * \note take care that viewinv is up to date, #ED_view3d_update_viewmat first. + * \note take care that #RegionView3d.viewinv is up to date, #ED_view3d_update_viewmat first. */ void ED_view3d_distance_set(struct RegionView3D *rv3d, const float dist); /** diff --git a/source/blender/editors/screen/screen_intern.h b/source/blender/editors/screen/screen_intern.h index 53d87005463..bc06e46ba96 100644 --- a/source/blender/editors/screen/screen_intern.h +++ b/source/blender/editors/screen/screen_intern.h @@ -90,7 +90,7 @@ void screen_draw_split_preview(struct ScrArea *area, const eScreenAxis dir_axis, /* screen_edit.c */ /** - * Empty screen, with 1 dummy area without spacedata. Uses window size. + * Empty screen, with 1 dummy area without space-data. Uses window size. */ bScreen *screen_add(struct Main *bmain, const char *name, const rcti *rect); void screen_data_copy(bScreen *to, bScreen *from); |