diff options
author | Jacques Lucke <jacques@blender.org> | 2021-04-16 12:43:16 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2021-04-16 12:43:16 +0300 |
commit | ca37d8485c73ebc050e49c6bce2f73756c7578e3 (patch) | |
tree | 35fb4103a094f95346a260c0544c9c85abd1286e /source/blender | |
parent | 58818cba40794905f9323080e60884e090f2d388 (diff) |
Fix T87217: improve impact of seed in point distribute node
Incrementing the seed just by one did not mix things up enough.
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc b/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc index 026455cbc95..74cca8a2f3c 100644 --- a/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc +++ b/source/blender/nodes/geometry/nodes/node_geo_point_distribute.cc @@ -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"); |