Fix #117515: Geometry Nodes: Count of unique face neighbors
commitdd672c38b173f0274ac23251c87cd1d16f5869bd
authorIliya Katueshenock <modormoder@gmail.com>
Sat, 13 Apr 2024 23:08:10 +0000 (14 01:08 +0200)
committerHans Goudey <hooglyboogly@noreply.localhost>
Sat, 13 Apr 2024 23:08:10 +0000 (14 01:08 +0200)
tree78f7f4381be15d226668230116d61152f0df8e40
parent48baa80a0512157fe358c0cd9c472e62ff84e7ea
Fix #117515: Geometry Nodes: Count of unique face neighbors

Regular topology mapping does not care about deduplication of relations. And
this is correct for a lot of the case where we expect creating difference of this
relations in next operations. But this is not the case for users, since this should
be actually trivial info. Due to this reason, construct full topology map and count
number of unique connections. Performance side: difference linear check and
hash set for different sizes of connections set.

Pull Request: https://projects.blender.org/blender/blender/pulls/118848
source/blender/nodes/geometry/nodes/node_geo_input_mesh_face_neighbors.cc