blender/tests/files/alembic
Kévin Dietrich cc44ebbd24 Alembic: remember default and active color attributes
Prior to version 3.5, when importing an Alembic file the default and
active color attributes were set to the first color layer. Since then,
as the default and active color attributes are stored as strings on the
Mesh object, importing an Alembic file leaves those uninitialized.

Note that this only worked prior to 3.5 as the indices for the active
and default layers were initialized by default to zero.

Remembering those default and active attributes is necessary after
an import for e.g. being able to visualize the colors using viewport
shading overlays.

As Alembic does not have a concept of default or active color
attribute, this writes the name of those attributes in the mesh user
properties during export.

During import, we lookup those properties and use them to set the
default and active color layers. If the properties do not exist, we
default to the first color layer.

This adds a test for the new export and import of the default and
active names, and updates old tests to check that the fallback to the
first layer works.

Pull Request: https://projects.blender.org/blender/blender/pulls/164075
2026-09-21 21:11:36 +02:00
..
compare Alembic: use proper scopes for reading and writing radii 2026-09-21 21:04:38 +02:00
animated-mesh.abc
attributes-export-constant-test.blend Alembic: export arbitrary attributes 2026-09-16 10:18:53 +02:00
attributes-export-conversion-test.blend Alembic: export arbitrary attributes 2026-09-16 10:18:53 +02:00
attributes-export-random-test.blend Alembic: export arbitrary attributes 2026-09-16 10:18:53 +02:00
attributes-extra-export-test.blend Alembic: export arbitrary attributes 2026-09-16 10:18:53 +02:00
camera-data-animated.abc Fix: missing property animation for Alembic cameras 2026-06-10 18:31:35 +02:00
camera_transforms.blend
cube-base-file.abc
cube-hi-res.abc
cube-rotating1.abc
cube-rotating2.abc
cubes-hierarchy.abc
cubes-hierarchy.blend
curve-radius-scope.blend Alembic: use proper scopes for reading and writing radii 2026-09-21 21:04:38 +02:00
curve-velocity-animated.abc Fix: Alembic: missing animation detection for points and curves 2026-08-22 09:53:46 +02:00
curve-width-animated.abc Fix: Alembic: missing animation detection for points and curves 2026-08-22 09:53:46 +02:00
custom-properties.blend
dupligroup-lib.blend
dupligroup-scene.blend
empty.blend
hair-particles.blend
long-names.abc
long-names.blend
mesh_subd_params.blend Alembic: import and export of subdivision parameters 2026-06-18 15:30:25 +02:00
mesh_subd_varying.blend
multiple-duplicated-hierarchies.blend
point-radius-scope.blend Alembic: use proper scopes for reading and writing radii 2026-09-21 21:04:38 +02:00
point-velocity-animated.abc Fix: Alembic: missing animation detection for points and curves 2026-08-22 09:53:46 +02:00
point-width-animated.abc Fix: Alembic: missing animation detection for points and curves 2026-08-22 09:53:46 +02:00
single-curve.blend
single-point.blend Alembic: support exporting PointCloud objects 2026-08-14 10:07:34 +02:00
T52022-inheritance.abc
T77021-multiple-uvmaps-animated-mesh.blend
vertex-colours-blender.abc
vertex-colours-default-active.blend Alembic: remember default and active color attributes 2026-09-21 21:11:36 +02:00
vertex-colours-houdini.abc
visibility-animated.abc
visibility-hidden.abc
visibility-parent-hidden-child-deferred.abc
visibility-parent-hidden-child-visible.abc
visibility-parent-visible-child-deferred.abc
visibility.blend