Blender Git Commit Log

Git Commits -> Revision cedefe4

May 8, 2020, 15:35 (GMT)
IO: ensure export path and export name are always consistent

Before this, there was one code path that set `context.export_path`,
and a different code path for `context.export_name`, allowing the two to
diverge.

Keeping track of the export path of the export parent (which can be but is
not always the Blender parent object) also allows a concrete subclass of
`AbstractHierarchyIterator` to find the `AbstractWriter` for the export
parent. In case of exporting to Alembic this is important, as it's not
possible to simply give the Alembic library the full export path of an
object (it needs the C++ object of the parent).

Commit Details:

Full Hash: cedefe4ad9b03f18431d478ae8adbda66ee778a4
Parent Commit: 27236bc
Lines Changed: +32, -6

2 Modified Paths:

/source/blender/io/common/intern/abstract_hierarchy_iterator.cc (+20, -6) (Diff)
/source/blender/io/common/IO_abstract_hierarchy_iterator.h (+12, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021