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:
authorSybren A. Stüvel <sybren@blender.org>2020-07-21 15:09:44 +0300
committerSybren A. Stüvel <sybren@blender.org>2020-07-21 15:10:42 +0300
commit269c184ac925a9f1bfc7ecefb4cc3c333b51ebb0 (patch)
tree7bfbada4dbbdb8bea04bffd3c61abb53b7e99cb2 /source/blender/io/usd/intern/usd_hierarchy_iterator.cc
parent6b6970d43fb7c69f59269219e7573b2b9d2da887 (diff)
Cleanup: IO, renamed `delete_object_writer()` → `release_writer()`
The function is called for all writers, not just 'object' writers. Furthermore, it's called by the function `release_writers()`, so now the name is consistent with that as well. No functional changes.
Diffstat (limited to 'source/blender/io/usd/intern/usd_hierarchy_iterator.cc')
-rw-r--r--source/blender/io/usd/intern/usd_hierarchy_iterator.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/io/usd/intern/usd_hierarchy_iterator.cc b/source/blender/io/usd/intern/usd_hierarchy_iterator.cc
index d0db1284c77..39fbef70e81 100644
--- a/source/blender/io/usd/intern/usd_hierarchy_iterator.cc
+++ b/source/blender/io/usd/intern/usd_hierarchy_iterator.cc
@@ -61,7 +61,7 @@ bool USDHierarchyIterator::mark_as_weak_export(const Object *object) const
return false;
}
-void USDHierarchyIterator::delete_object_writer(AbstractHierarchyWriter *writer)
+void USDHierarchyIterator::release_writer(AbstractHierarchyWriter *writer)
{
delete static_cast<USDAbstractWriter *>(writer);
}