diff options
author | Jacques Lucke <jacques@blender.org> | 2021-03-15 17:32:30 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-03-15 17:38:57 +0300 |
commit | 3618948df85f18f6ab5d33e10139520b4c3dd092 (patch) | |
tree | 647a84cf35c6c1e131898ab8b93d960cf9cd6de1 /source/blender/nodes | |
parent | 992abd4734a04b493e32ed900d4c7a786fd71549 (diff) |
Geometry Nodes: expose builtin crease attribute
This exposes the `crease` attribute, that is used by the Subdivide Smooth node.
It is also the first attribute on the edge domain. Domain interpolations for the
edge domain have not been implemented yet.
Ref T86397.
Differential Revision: https://developer.blender.org/D10660
Diffstat (limited to 'source/blender/nodes')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc b/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc index 54b0c07a0a0..52512769a47 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_join_geometry.cc @@ -224,7 +224,7 @@ static void join_components(Span<const MeshComponent *> src_components, Geometry /* Don't copy attributes that are stored directly in the mesh data structs. */ join_attributes(to_base_components(src_components), dst_component, - {"position", "material_index", "normal", "shade_smooth"}); + {"position", "material_index", "normal", "shade_smooth", "crease"}); } static void join_components(Span<const PointCloudComponent *> src_components, GeometrySet &result) |