Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-11-16 08:48:41 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-11-16 08:48:41 +0300
commita3a6d6a670f1074de3a83fef2f58c72bd66b270d (patch)
tree105e77b3dceb578ef8f2aa8cfa65cceff1258c8d /source/blender/editors/undo/memfile_undo.c
parent4eac03d821fa17546f562485f7d073813a5e5943 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/editors/undo/memfile_undo.c')
-rw-r--r--source/blender/editors/undo/memfile_undo.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/blender/editors/undo/memfile_undo.c b/source/blender/editors/undo/memfile_undo.c
index ace82f82a78..49417a54472 100644
--- a/source/blender/editors/undo/memfile_undo.c
+++ b/source/blender/editors/undo/memfile_undo.c
@@ -312,19 +312,19 @@ struct MemFile *ED_undosys_stack_memfile_get_active(UndoStack *ustack)
}
/**
- * If the last undo step is a memfile one, find the first memchunk matching given ID (using its
- * seesion uuid), and tag it as 'changed in the future'.
+ * If the last undo step is a memfile one, find the first #MemFileChunk matching given ID
+ * (using its session UUID), and tag it as "changed in the future".
*
* Since non-memfile undos cannot automatically set this flag in the previous step as done with
* memfile ones, this has to be called manually by relevant undo code.
*
- * \note Only current known case for this is undoing a switch from Pbject to Sculpt mode (see
+ * \note Only current known case for this is undoing a switch from Object to Sculpt mode (see
* T82388).
*
- * \note Calling this ID by ID is not optimal, as it will loop over all memchunks until it find
- * expected one. If this becomes an issue we'll have to add a mapping from session uuid to first
- * memchunk in #MemFile itself (currently we only do that in #MemFileWriteData when writing a new
- * step).
+ * \note Calling this ID by ID is not optimal, as it will loop over all #MemFile.chunks until it
+ * finds the expected one. If this becomes an issue we'll have to add a mapping from session UUID
+ * to first #MemFileChunk in #MemFile itself
+ * (currently we only do that in #MemFileWriteData when writing a new step).
*/
void ED_undosys_stack_memfile_id_changed_tag(UndoStack *ustack, ID *id)
{