Blender Git Loki

Git Commits -> Revision 5b97c00

Revision 5b97c00 by Kévin Dietrich (master)
August 19, 2021, 12:29 (GMT)
Alembic import: option to always add a cache reader

The current behavior of the Alembic importer is to only create a
`MeshSequenceCache` modifier or a `Transform Cache` constraint to imported
objects if they have some animated properties.

Since static objects do not have a cache reader, when reloading files those
objects are not updated. Currently, the only way to properly reload a file
because of this is to reimport it.

This adds an option to the importer to always add a cache reader, even if
there is no animated data, to ensure that all objects coming from Alembic
archive are linked to them and updated properly upon reloads.

Reviewed by: brecht, sybren

Ref D10197.

Commit Details:

Full Hash: 5b97c00e9fc4e1e5d6cdfa7130eab5aada0e068e
Parent Commit: 4db4123
Lines Changed: +20, -5

8 Modified Paths:

/source/blender/editors/io/io_alembic.c (+10, -0) (Diff)
/source/blender/io/alembic/ABC_alembic.h (+1, -0) (Diff)
/source/blender/io/alembic/intern/abc_reader_curves.cc (+1, -1) (Diff)
/source/blender/io/alembic/intern/abc_reader_mesh.cc (+2, -2) (Diff)
/source/blender/io/alembic/intern/abc_reader_object.cc (+1, -1) (Diff)
/source/blender/io/alembic/intern/abc_reader_object.h (+2, -0) (Diff)
/source/blender/io/alembic/intern/abc_reader_points.cc (+1, -1) (Diff)
/source/blender/io/alembic/intern/alembic_capi.cc (+2, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021