From 9d9c05a10106ea08cf5082633a5dd0a007d860ba Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 16 Aug 2022 10:37:34 +1000 Subject: Cleanup: spelling in comments --- source/blender/editors/include/ED_sculpt.h | 5 +++-- source/blender/editors/sculpt_paint/sculpt_intern.h | 7 ++++--- 2 files changed, 7 insertions(+), 5 deletions(-) (limited to 'source/blender/editors') diff --git a/source/blender/editors/include/ED_sculpt.h b/source/blender/editors/include/ED_sculpt.h index 5efeeaa29e1..1e220d33ff4 100644 --- a/source/blender/editors/include/ED_sculpt.h +++ b/source/blender/editors/include/ED_sculpt.h @@ -42,9 +42,10 @@ void ED_sculpt_end_transform(struct bContext *C, struct Object *ob); /** Export for ED_undo_sys. */ void ED_sculpt_undosys_type(struct UndoType *ut); -/* Pushes an undo step using the operator name. This is necassary for +/** + * Pushes an undo step using the operator name. This is necessary for * redo panels to work; operators that do not support that may use - * ED_sculpt_undo_geometry_begin_ex instead if so desired. + * #ED_sculpt_undo_geometry_begin_ex instead if so desired. */ void ED_sculpt_undo_geometry_begin(struct Object *ob, const struct wmOperator *op); void ED_sculpt_undo_geometry_begin_ex(struct Object *ob, const char *name); diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index d9f40fedf2b..e4bba135518 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -1493,14 +1493,15 @@ SculptUndoNode *SCULPT_undo_push_node(Object *ob, PBVHNode *node, SculptUndoType SculptUndoNode *SCULPT_undo_get_node(PBVHNode *node, SculptUndoType type); SculptUndoNode *SCULPT_undo_get_first_node(void); -/* Pushes an undo step using the operator name. This is necassary for +/** + * Pushes an undo step using the operator name. This is necessary for * redo panels to work; operators that do not support that may use - * SCULPT_undo_push_begin_ex instead if so desired. + * #SCULPT_undo_push_begin_ex instead if so desired. */ void SCULPT_undo_push_begin(struct Object *ob, const struct wmOperator *op); /** - * NOTE: SCULPT_undo_push_begin is preferred since `name` + * NOTE: #SCULPT_undo_push_begin is preferred since `name` * must match operator name for redo panels to work. */ void SCULPT_undo_push_begin_ex(struct Object *ob, const char *name); -- cgit v1.2.3