mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
Curves and points radii were read and written assuming they are always defined on the vertex scope. This is a bit mistaken as those are GeomParams in Alembic, which means that they could be defined on any scope. For export, we now write them on the Constant scope if the radius attribute is a single value. Otherwise, we keep exporting on the vertex scope. For import, we read radii values properly according to the Alembic scope. For Constant scope, we simply create a single value array. This also adds some `get_sane_range` function to sanitize the range used when iterating over Alembic data when reading curves widths. This mirrors what is currently done for reading points widths. Pull Request: https://projects.blender.org/blender/blender/pulls/164077 |
||
|---|---|---|
| .. | ||
| reference | ||
| 74200-bad-face-counts-polymesh.abc | ||
| 74200-bad-face-counts-subd.abc | ||
| curves-width-constant-scope.abc | ||
| curves-width-uniform-scope.abc | ||
| curves-width-vertex-scope.abc | ||
| malformed_curves.abc | ||
| malformed_face_indices.abc | ||
| malformed_nurbs.abc | ||
| malformed_points.abc | ||
| point_attributes.abc | ||
| points-width-constant-scope.abc | ||
| points-width-vertex-scope.abc | ||