Blender Git Loki

Git Commits -> Revision 0d744cf

Revision 0d744cf by Sybren A. Stüvel (master)
June 19, 2020, 08:17 (GMT)
Alembic: export object data with object data name

Previously the Alembic exporter exported a mesh object to
`{object.name}/{object.name}Shape`. Now it exports to
`{object.name}/{mesh.name}` instead. The same change also applies to
other object data types.

Note that the code now is a bit hackish, as `m_name` is set even in
cases where it isn't used. This hackishness was already there, though,
but it's now just more visible. This will all be cleaned up when the
Alembic exporter is ported to use the `AbstractHierarchyImporter`
structure of the Universal Scene Description (USD) exporter.

Reviewed By: mont29

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

Commit Details:

Full Hash: 0d744cf673e893bd1e44fa7fd91e916935a3ff45
Parent Commit: 0ae7883
Lines Changed: +20, -10

2 Modified Paths:

/source/blender/io/alembic/intern/abc_writer_object.cc (+11, -1) (Diff)
/tests/python/alembic_tests.py (+9, -9) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021