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-11 09:09:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-08-11 09:09:23 +0300
commit18fbcaf7b9273cc4a7e153fea60a53fec956d600 (patch)
treec5ad617dee655fc9fe9d9e02bbf32121bb5e16e7 /source/blender/blenkernel/intern/collection.c
parent2f39f7f81549cff0285c2f1934de5d2c743785d4 (diff)
Cleanup: rename BKE_collection_{free => free_data}
This function doesn't free the collection, only it's memory.
Diffstat (limited to 'source/blender/blenkernel/intern/collection.c')
-rw-r--r--source/blender/blenkernel/intern/collection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/collection.c b/source/blender/blenkernel/intern/collection.c
index dbcd80fe065..b62e33ff564 100644
--- a/source/blender/blenkernel/intern/collection.c
+++ b/source/blender/blenkernel/intern/collection.c
@@ -508,7 +508,7 @@ void BKE_collection_add_from_collection(Main *bmain,
* \{ */
/** Free (or release) any data used by this collection (does not free the collection itself). */
-void BKE_collection_free(Collection *collection)
+void BKE_collection_free_data(Collection *collection)
{
BKE_libblock_free_data(&collection->id, false);
collection_free_data(&collection->id);