Blender Git Loki

Git Commits -> Revision ddc62da

May 8, 2020, 15:28 (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.

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.

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

Commit Details:

Full Hash: ddc62da090784da41c7d0c62ae82987127e1c64a
Parent Commit: fc08425
Lines Changed: +985, -925

3 Added Paths:

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

2 Deleted Paths:

/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc (+0, -654)
/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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021