Blender Git Loki

Git Commits -> Revision cf266ec

Revision cf266ec by Jacques Lucke (master)
November 23, 2021, 16:48 (GMT)
Geometry Nodes: fix attribute propagation in Delete Geometry node

Previously, attribute propagation did not work correctly in when only
deleting edges and faces (but not points). Face and face corner attributes
were propagated wrongly or not at all respectively.

In order to keep the patch relatively small for the release branch,
it does not include some small optimizations. These can be done in 3.1:
* Use a `Span<int>` instead of `IndexMask` to avoid creating an
unnecessary `Vector<int64_t>`.
* Only prepare index mappings when there are actually attributes to
propagate.

Differential Revision: https://developer.blender.org/D13338

Commit Details:

Full Hash: cf266ecaa6ced28564e70271e8e4806faa9b2a83
Parent Commit: a6b7f32
Lines Changed: +43, -11

1 Modified Path:

/source/blender/nodes/geometry/nodes/node_geo_delete_geometry.cc (+43, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021