diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-10-28 20:18:27 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-10-29 17:21:36 +0300 |
commit | 89eb05a8908130f8668e4c677d63f3d2b89e68bb (patch) | |
tree | caff26c9c47fe531c86e0ee03b843c6162fc5581 /source/blender/alembic/intern/abc_mesh.cc | |
parent | d9000495e1273052c895c754fd2aa56c9dbe6175 (diff) |
Alembic: exporting MetaBalls as mesh
- Only basis balls are exported, as they represent the resulting mesh.
As a result the mesh is written to Alembic using the name of the basis
ball.
- MetaBalls are converted to a mesh on every frame, then an
AbcMeshWriter is used to write that mesh to Alembic.
Diffstat (limited to 'source/blender/alembic/intern/abc_mesh.cc')
-rw-r--r-- | source/blender/alembic/intern/abc_mesh.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/alembic/intern/abc_mesh.cc b/source/blender/alembic/intern/abc_mesh.cc index 36b134f8b0c..ffaa516d81a 100644 --- a/source/blender/alembic/intern/abc_mesh.cc +++ b/source/blender/alembic/intern/abc_mesh.cc @@ -358,6 +358,11 @@ bool AbcMeshWriter::isAnimated() const return me->adt != NULL; } +void AbcMeshWriter::setIsAnimated(bool is_animated) +{ + m_is_animated = is_animated; +} + void AbcMeshWriter::do_write() { /* We have already stored a sample for this object. */ |