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>2021-08-26 05:27:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-26 05:36:58 +0300
commitafcd06e1e11b1166deb55b0ce05b777706369028 (patch)
treeb7ed1cb6f581edf697e35db6a7d67bfc37b7b008 /source/blender/sequencer
parentff85ac300983bb1f887c071f58b47092682e165c (diff)
Cleanup: spelling in comments
Diffstat (limited to 'source/blender/sequencer')
-rw-r--r--source/blender/sequencer/intern/iterator.c9
-rw-r--r--source/blender/sequencer/intern/sequencer.c4
2 files changed, 6 insertions, 7 deletions
diff --git a/source/blender/sequencer/intern/iterator.c b/source/blender/sequencer/intern/iterator.c
index 2ac93ccc9d3..a9cbf4879f1 100644
--- a/source/blender/sequencer/intern/iterator.c
+++ b/source/blender/sequencer/intern/iterator.c
@@ -107,14 +107,13 @@ static bool seq_for_each_recursive(ListBase *seqbase, SeqForEachFunc callback, v
}
/**
- * Utility function to recursivily iterate through all sequence strips in a seqbase list.
+ * Utility function to recursively iterate through all sequence strips in a `seqbase` list.
* Uses callback to do operations on each sequence element.
* The callback can stop the iteration if needed.
*
- * \param seqbase: ListBase of sequences to be iterated over
- * \param callback: query function callback, returns false if iteration should stop
- * \param user_data: pointer to user data that can be used in the callback function
- *
+ * \param seqbase: #ListBase of sequences to be iterated over.
+ * \param callback: query function callback, returns false if iteration should stop.
+ * \param user_data: pointer to user data that can be used in the callback function.
*/
void SEQ_for_each_callback(ListBase *seqbase, SeqForEachFunc callback, void *user_data)
{
diff --git a/source/blender/sequencer/intern/sequencer.c b/source/blender/sequencer/intern/sequencer.c
index 49d08d0e022..2863af8fb2e 100644
--- a/source/blender/sequencer/intern/sequencer.c
+++ b/source/blender/sequencer/intern/sequencer.c
@@ -755,9 +755,9 @@ static bool seq_write_data_cb(Sequence *seq, void *userdata)
BlendWriter *writer = (BlendWriter *)userdata;
BLO_write_struct(writer, Sequence, seq);
if (seq->strip && seq->strip->done == 0) {
- /* write strip with 'done' at 0 because readfile */
+ /* Write strip with 'done' at 0 because read-file. */
- // TODO this doesn't depend on the `Strip` data to be present?
+ /* TODO this doesn't depend on the `Strip` data to be present? */
if (seq->effectdata) {
switch (seq->type) {
case SEQ_TYPE_COLOR: