Blender Git Loki

Git Commits -> Revision d9a9e64

Revision d9a9e64 by Sybren A. Stüvel (master)
May 8, 2020, 10:26 (GMT)
Cleanup: USD, refactored export graph construction

The construction of the export graph is now split into a few steps:
- Construct a `HierarchyContext` object for the to-be-exported object.
- Determine the graph index, i.e. the export-parent and the duplicator.
- Update the `HierarchyContext` object for this graph index.

This allows the upcoming new Alembic exporter to override the location of
an object in the export graph, in order to support "flattened" exports.
Aside from that, this also simply makes the code cleaner.

No functional changes.

Commit Details:

Full Hash: d9a9e64e8cb0b7c15fc310dc0f286f593f7c5801
Parent Commit: 163a48f
Lines Changed: +49, -23

2 Modified Paths:

/source/blender/io/usd/intern/abstract_hierarchy_iterator.cc (+42, -22) (Diff)
/source/blender/io/usd/intern/abstract_hierarchy_iterator.h (+7, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021