diff options
author | Sybren A. Stüvel <sybren@blender.org> | 2020-07-21 15:09:44 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@blender.org> | 2020-07-21 15:10:42 +0300 |
commit | 269c184ac925a9f1bfc7ecefb4cc3c333b51ebb0 (patch) | |
tree | 7bfbada4dbbdb8bea04bffd3c61abb53b7e99cb2 /source/blender/io/alembic | |
parent | 6b6970d43fb7c69f59269219e7573b2b9d2da887 (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/alembic')
-rw-r--r-- | source/blender/io/alembic/exporter/abc_hierarchy_iterator.cc | 2 | ||||
-rw-r--r-- | source/blender/io/alembic/exporter/abc_hierarchy_iterator.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/io/alembic/exporter/abc_hierarchy_iterator.cc b/source/blender/io/alembic/exporter/abc_hierarchy_iterator.cc index c83eaf3eede..5b1b1b60b48 100644 --- a/source/blender/io/alembic/exporter/abc_hierarchy_iterator.cc +++ b/source/blender/io/alembic/exporter/abc_hierarchy_iterator.cc @@ -89,7 +89,7 @@ bool ABCHierarchyIterator::mark_as_weak_export(const Object *object) const return false; } -void ABCHierarchyIterator::delete_object_writer(AbstractHierarchyWriter *writer) +void ABCHierarchyIterator::release_writer(AbstractHierarchyWriter *writer) { delete writer; } diff --git a/source/blender/io/alembic/exporter/abc_hierarchy_iterator.h b/source/blender/io/alembic/exporter/abc_hierarchy_iterator.h index 3fe2d2c43d2..bd7e3f27c67 100644 --- a/source/blender/io/alembic/exporter/abc_hierarchy_iterator.h +++ b/source/blender/io/alembic/exporter/abc_hierarchy_iterator.h @@ -78,7 +78,7 @@ class ABCHierarchyIterator : public AbstractHierarchyIterator { virtual AbstractHierarchyWriter *create_particle_writer( const HierarchyContext *context) override; - virtual void delete_object_writer(AbstractHierarchyWriter *writer) override; + virtual void release_writer(AbstractHierarchyWriter *writer) override; private: Alembic::Abc::OObject get_alembic_parent(const HierarchyContext *context) const; |