Fix T87217: improve impact of seed in point distribute node
Incrementing the seed just by one did not mix things up enough.
This commit is contained in:
parent
58818cba40
commit
ca37d8485c
Notes:
blender-bot
2023-02-13 23:17:13 +01:00
Referenced by issue #87217, Poisson Disk Seed Repeats distribution every 125 values
|
@ -622,7 +622,7 @@ static void geo_node_point_distribute_exec(GeoNodeExecParams params)
|
|||
const GeometryNodePointDistributeMode distribute_method =
|
||||
static_cast<GeometryNodePointDistributeMode>(params.node().custom1);
|
||||
|
||||
const int seed = params.get_input<int>("Seed");
|
||||
const int seed = params.get_input<int>("Seed") * 5383843;
|
||||
const float density = params.extract_input<float>("Density Max");
|
||||
const std::string density_attribute_name = params.extract_input<std::string>(
|
||||
"Density Attribute");
|
||||
|
|
Loading…
Reference in New Issue