This node seems generic enough to be found in utilities like Random Value node.
- Replace
NodeHashMode
by simply socket types. - Iterate over all sockets in
node_update
and compare types. - Wrap all
static auto fn_hash_vector
in `bke::attribute_math::convert_to_stat…
Thanks for the test and feedback. I'm still in the process of improvements and fixes. Some things:
The actual geometry operation could be moved into the geometry module.
Sounds reasonable…
Can't reproduce, seems to be really a duplicate of blender/blender#109462
Added some assertions and also genirilized the names. For the Point to Curves node, this function will be just as useful, it can be moved to another place later.
The problem is that we don't have a group from the start. By iterating over the corner edge indices, we can have random edges rather than already grouped ones. This means that only at the end it…
Imagine that counts
is an array of iterators.
Each thread can make a step and get the value of the random iterator. This means that each iterator will reach its end in the end of all.
And each…