diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-05-24 13:38:17 +0300 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2017-05-24 13:38:17 +0300 |
commit | e921e0f0af25be23895fed01bc18ddf1fbcc692a (patch) | |
tree | caf22d629723ddbcba8e618208975901cfc8cca7 | |
parent | eafea25c41d29b730e6092d8e3c2165cc236dfa2 (diff) |
Alembic export: consider mesh with animation data as "animated"
This allows you to put any kind of animation data on the mesh, and its
shape will be exported on each timekey. Note that this timekey is unrelated
to the animation data (so we don't export on each keyframe, for example).
A practical example is the addition of an animated custom property to
trigger the export of animated mesh data. The mesh data can then be created
from any source, like Python scripts.
Not only is this useful in itself, it also provides a workaround for one
of the two issues described in T51351.
-rw-r--r-- | source/blender/alembic/intern/abc_mesh.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/alembic/intern/abc_mesh.cc b/source/blender/alembic/intern/abc_mesh.cc index 32795e70e92..9a4ca6f99a8 100644 --- a/source/blender/alembic/intern/abc_mesh.cc +++ b/source/blender/alembic/intern/abc_mesh.cc @@ -355,7 +355,7 @@ bool AbcMeshWriter::isAnimated() const md = md->next; } - return false; + return me->adt != NULL; } void AbcMeshWriter::do_write() |