diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-04-09 11:47:10 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-04-09 12:00:04 +0300 |
commit | bae66609b469591d3d5dd30d466dd79bf87ef483 (patch) | |
tree | 419cb6f15c77204c924b2ba9f80200006c7eb11e /source/blender/editors/undo | |
parent | b08394d57a5d32037d5ab99ccb4b7943a1432cee (diff) |
Cleanup: use our own code style for doxy-gen comment blocks
Diffstat (limited to 'source/blender/editors/undo')
-rw-r--r-- | source/blender/editors/undo/ed_undo.c | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/source/blender/editors/undo/ed_undo.c b/source/blender/editors/undo/ed_undo.c index b69f62a2875..7811509ab40 100644 --- a/source/blender/editors/undo/ed_undo.c +++ b/source/blender/editors/undo/ed_undo.c @@ -273,9 +273,11 @@ static void ed_undo_step_post(bContext *C, } } -/** Undo or redo one step from current active one. - * May undo or redo several steps at once only if the target step is a 'skipped' one. - * The target step will be the one immediately before or after the active one. */ +/** + * Undo or redo one step from current active one. + * May undo or redo several steps at once only if the target step is a 'skipped' one. + * The target step will be the one immediately before or after the active one. + */ static int ed_undo_step_direction(bContext *C, enum eUndoStepDir step, ReportList *reports) { BLI_assert(ELEM(step, STEP_UNDO, STEP_REDO)); @@ -308,9 +310,11 @@ static int ed_undo_step_direction(bContext *C, enum eUndoStepDir step, ReportLis return OPERATOR_FINISHED; } -/** Undo the step matching given name. - * May undo several steps at once. - * The target step will be the one immediately before given named one. */ +/** + * Undo the step matching given name. + * May undo several steps at once. + * The target step will be the one immediately before given named one. + */ static int ed_undo_step_by_name(bContext *C, const char *undo_name, ReportList *reports) { BLI_assert(undo_name != NULL); @@ -354,9 +358,11 @@ static int ed_undo_step_by_name(bContext *C, const char *undo_name, ReportList * return OPERATOR_FINISHED; } -/** Load the step matching given index in the stack. - * May undo or redo several steps at once. - * The target step will be the one indicated by the given index. */ +/** + * Load the step matching given index in the stack. + * May undo or redo several steps at once. + * The target step will be the one indicated by the given index. + */ static int ed_undo_step_by_index(bContext *C, const int undo_index, ReportList *reports) { BLI_assert(undo_index >= 0); |