Blender Git Loki

Git Commits -> Revision 301f648

May 8, 2020, 15:43 (GMT)
Alembic: export object data with object data name

The old exporter always 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 USD.

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

Commit Details:

Full Hash: 301f648f3a92da450d086608d4672cea229f99ca
Parent Commit: cedefe4
Lines Changed: +18, -8

2 Modified Paths:

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