Alembic: Export mesh as mesh, even when it has no vertices.
This makes it possible to have an animated / procedurally generated mesh that starts empty and obtains data in later frames. Fixes the export of an empty mesh with an Ocean Modifier, as described in issue T51351.
This commit is contained in:
parent
e921e0f0af
commit
6715bfee92
|
@ -580,7 +580,7 @@ void AbcExporter::createShapeWriter(Object *ob, Object *dupliObParent)
|
|||
{
|
||||
Mesh *me = static_cast<Mesh *>(ob->data);
|
||||
|
||||
if (!me || me->totvert == 0) {
|
||||
if (!me) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue