Blender Git Commit Log

Git Commits -> Revision 084c5d6

Revision 084c5d6 by Sybren A. Stüvel (master)
June 19, 2020, 08:17 (GMT)
IO: Move Abstract Hierarchy Iterator into `io/common`

The goal of the `AbstractHierarchyIterator` class (and supporting
classes) was to use it in different exporters. It shouldn't be part of
the USD module + namespace any more, now that it will also be used in
the upcoming Alembic exporter rewrite.

The source files are moved into `io/common`, which is compiled & linked
into a new library `bf_io_common`. The unittests are still inside the
`tests/gtests/usd` directory. They should be moved to a separate test
module too, but that will be delayed until after T73268 has been
resolved.

Reviewed By: mont29

Differential Revision: https://developer.blender.org/D7669

Commit Details:

Full Hash: 084c5d6c7e2cf89bb9a7a9a9d00e9ee4475e222f
Parent Commit: b1ce4ca
Lines Changed: +985, -923

3 Added Paths:

/source/blender/io/common/CMakeLists.txt (+45, -0) (View)
/source/blender/io/common/intern/abstract_hierarchy_iterator.cc (+654, -0) (View)
/source/blender/io/common/IO_abstract_hierarchy_iterator.h (+265, -0) (View)

2 Deleted Paths:

/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc (+0, -652)
/source/blender/io/usd/intern/abstract_hierarchy_iterator.h (+0, -263)

8 Modified Paths:

/source/blender/io/alembic/CMakeLists.txt (+2, -0) (Diff)
/source/blender/io/CMakeLists.txt (+2, -0) (Diff)
/source/blender/io/usd/CMakeLists.txt (+2, -2) (Diff)
/source/blender/io/usd/intern/usd_hierarchy_iterator.h (+5, -1) (Diff)
/source/blender/io/usd/intern/usd_writer_abstract.h (+4, -1) (Diff)
/tests/gtests/usd/abstract_hierarchy_iterator_test.cc (+2, -2) (Diff)
/tests/gtests/usd/CMakeLists.txt (+2, -0) (Diff)
/tests/gtests/usd/hierarchy_context_order_test.cc (+2, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021