mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
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 |
||
|---|---|---|
| .. | ||
| compare | ||
| animated-mesh.abc | ||
| attributes-export-constant-test.blend | ||
| attributes-export-conversion-test.blend | ||
| attributes-export-random-test.blend | ||
| attributes-extra-export-test.blend | ||
| camera-data-animated.abc | ||
| 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 | ||
| curve-velocity-animated.abc | ||
| curve-width-animated.abc | ||
| custom-properties.blend | ||
| dupligroup-lib.blend | ||
| dupligroup-scene.blend | ||
| empty.blend | ||
| hair-particles.blend | ||
| long-names.abc | ||
| long-names.blend | ||
| mesh_subd_params.blend | ||
| mesh_subd_varying.blend | ||
| multiple-duplicated-hierarchies.blend | ||
| point-radius-scope.blend | ||
| point-velocity-animated.abc | ||
| point-width-animated.abc | ||
| single-curve.blend | ||
| single-point.blend | ||
| T52022-inheritance.abc | ||
| T77021-multiple-uvmaps-animated-mesh.blend | ||
| vertex-colours-blender.abc | ||
| vertex-colours-default-active.blend | ||
| 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 | ||