diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-11 04:41:00 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-11 05:03:09 +0300 |
commit | 5e47056e8d97e414c9dabacea71fac2bdc7d2818 (patch) | |
tree | 110a51be7cfb2f9eff9fd8db093975e29e1a3445 /source/blender/editors | |
parent | 1c264ebdc089ea6afef7be4edeb1add4998a1099 (diff) |
Cleanup: malformed C-style comment blocks, spelling
- Missing star prefix.
- Unnecessary indentation.
- Blank line after dot-points
(otherwise doxygen merges with the previous dot-point).
- Use back-slash for doxygen commands.
- Correct spelling.
Diffstat (limited to 'source/blender/editors')
7 files changed, 13 insertions, 15 deletions
diff --git a/source/blender/editors/armature/pose_slide.c b/source/blender/editors/armature/pose_slide.c index cf04cdba859..0efa32ec63a 100644 --- a/source/blender/editors/armature/pose_slide.c +++ b/source/blender/editors/armature/pose_slide.c @@ -8,20 +8,20 @@ * ==================== * * - Push & Relax, Breakdowner - + * * These tools provide the animator with various capabilities * for interactively controlling the spacing of poses, but also * for 'pushing' and/or 'relaxing' extremes as they see fit. * * - Propagate - + * * This tool copies elements of the selected pose to successive * keyframes, allowing the animator to go back and modify the poses * for some "static" pose controls, without having to repeatedly * doing a "next paste" dance. * * - Pose Sculpting (TODO) - + * * This is yet to be implemented, but the idea here is to use * sculpting techniques to make it easier to pose rigs by allowing * rigs to be manipulated using a familiar paint-based interface. diff --git a/source/blender/editors/asset/intern/asset_list.cc b/source/blender/editors/asset/intern/asset_list.cc index 4941e11a7b3..55167c1ed2d 100644 --- a/source/blender/editors/asset/intern/asset_list.cc +++ b/source/blender/editors/asset/intern/asset_list.cc @@ -41,7 +41,7 @@ namespace blender::ed::asset { /* -------------------------------------------------------------------- */ /** \name Asset list API * - * Internally re-uses #FileList from the File Browser. It does all the heavy lifting already. + * Internally re-uses #FileList from the File Browser. It does all the heavy lifting already. * \{ */ /** diff --git a/source/blender/editors/include/ED_uvedit.h b/source/blender/editors/include/ED_uvedit.h index 40a57a321d8..4c01c75e06c 100644 --- a/source/blender/editors/include/ED_uvedit.h +++ b/source/blender/editors/include/ED_uvedit.h @@ -325,7 +325,7 @@ struct UVPackIsland_Params { }; /** - * Returns true if UV coordinates lie on a valid tile in UDIM grid or tiled image. + * Returns true if UV coordinates lie on a valid tile in UDIM grid or tiled image. */ bool uv_coords_isect_udim(const struct Image *image, const int udim_grid[2], diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index ad5aeb1c29f..05acdac3597 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -1028,7 +1028,7 @@ void ui_draw_but_CURVE(struct ARegion *region, const struct uiWidgetColors *wcol, const rcti *rect); /** - * Draws the curve profile widget. Somewhat similar to ui_draw_but_CURVE. + * Draws the curve profile widget. Somewhat similar to ui_draw_but_CURVE. */ void ui_draw_but_CURVEPROFILE(struct ARegion *region, uiBut *but, diff --git a/source/blender/editors/render/render_shading.cc b/source/blender/editors/render/render_shading.cc index 1bd6b87f1a7..f5bd60df2b4 100644 --- a/source/blender/editors/render/render_shading.cc +++ b/source/blender/editors/render/render_shading.cc @@ -1281,7 +1281,7 @@ void SCENE_OT_view_layer_add_used_lightgroups(wmOperatorType *ot) /** \} */ /* -------------------------------------------------------------------- */ -/** \name View Layer Remove Unussed Lightgroups Operator +/** \name View Layer Remove Unused Lightgroups Operator * \{ */ static int view_layer_remove_unused_lightgroups_exec(bContext *C, wmOperator *UNUSED(op)) diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 73fc5bd68f3..38905b50c59 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -201,13 +201,11 @@ struct SculptRakeData { float follow_co[3]; }; -/* -Generic thread data. The size of this struct -has gotten a little out of hand; normally we would -split it up, but it might be better to see if we can't -eliminate it altogether after moving to C++ (where -we'll be able to use lambdas). -*/ +/** + * Generic thread data. The size of this struct has gotten a little out of hand; + * normally we would split it up, but it might be better to see if we can't eliminate it + * altogether after moving to C++ (where we'll be able to use lambdas). + */ typedef struct SculptThreadedTaskData { struct bContext *C; struct Sculpt *sd; diff --git a/source/blender/editors/sculpt_paint/sculpt_paint_color.c b/source/blender/editors/sculpt_paint/sculpt_paint_color.c index fe83fade055..e7a713efa14 100644 --- a/source/blender/editors/sculpt_paint/sculpt_paint_color.c +++ b/source/blender/editors/sculpt_paint/sculpt_paint_color.c @@ -454,7 +454,7 @@ static void do_smear_brush_task_cb_exec(void *__restrict userdata, } /* Multiply weight with edge lengths (in the future this will be - cotangent weights or face areas). */ + * cotangent weights or face areas). */ w *= len; /* Build directional weight. */ |