Fix: Geometry Nodes: Wrong hash of Shortest Edge Path field
This could cause too many comparisons when deduplicating field inputs for evaluation. Pull Request: https://projects.blender.org/blender/blender/pulls/117391
This commit is contained in:
committed by
Hans Goudey
parent
311ca3e6af
commit
801e24379e
@@ -146,8 +146,7 @@ class ShortestEdgePathsNextVertFieldInput final : public bke::MeshFieldInput {
|
||||
|
||||
uint64_t hash() const override
|
||||
{
|
||||
/* Some random constant hash. */
|
||||
return 8466507837;
|
||||
return get_default_hash_2(end_selection_, cost_);
|
||||
}
|
||||
|
||||
bool is_equal_to(const fn::FieldNode &other) const override
|
||||
|
||||
Reference in New Issue
Block a user