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-06-25 16:13:02 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-25 16:14:36 +0300
commitfd5c185bebd5a418634b2a8846f0aeea86327b20 (patch)
treee2f93d793fe173dce0a07c3a7e4385ed6850279d /source/blender/blenkernel/intern/collection.c
parentbaa0da3e69a1225cd18c075be5563c7d811b5347 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/blenkernel/intern/collection.c')
-rw-r--r--source/blender/blenkernel/intern/collection.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c
index dddbf7d45b2..c38d38bb2e7 100644
--- a/source/blender/blenkernel/intern/collection.c
+++ b/source/blender/blenkernel/intern/collection.c
@@ -416,11 +416,12 @@ static Collection *collection_duplicate_recursive(Main *bmain,
}
/**
- * Make a deep copy (aka duplicate) of the given collection and all of its children, recusrsively.
+ * Make a deep copy (aka duplicate) of the given collection and all of its children, recursively.
*
* \warning This functions will clear all \a bmain #ID.idnew pointers, unless \a
- * LIB_ID_DUPLICATE_IS_SUBPROCESS duplicate option is passed on, in which case caller is reponsible
- * to reconstruct collection dependencies informations (i.e. call #BKE_main_collection_sync).
+ * #LIB_ID_DUPLICATE_IS_SUBPROCESS duplicate option is passed on, in which case caller is
+ * responsible to reconstruct collection dependencies information's
+ * (i.e. call #BKE_main_collection_sync).
*
* \param do_objects: If true, it will also make copies of objects.
* \param do_obdata: If true, it will also make duplicates of objects,
@@ -444,8 +445,8 @@ Collection *BKE_collection_duplicate(Main *bmain,
bmain, parent, collection, duplicate_flags, duplicate_options);
if (!is_subprocess) {
- /* `collection_duplicate_recursive` will also tag our 'root' collection, whic is not required
- * unless its duplication is a subprocess of another one. */
+ /* `collection_duplicate_recursive` will also tag our 'root' collection, which is not required
+ * unless its duplication is a sub-process of another one. */
collection_new->id.tag &= ~LIB_TAG_NEW;
/* This code will follow into all ID links using an ID tagged with LIB_TAG_NEW.*/