Blender Git Loki
Git Commits -> Revision 70fbdcb
Revision 70fbdcb by Hans Goudey (master) August 25, 2021, 23:03 (GMT) |
Cleanup: Refactor proximity node to be more data type agnostic Before, distances from each component were handled in the same loop, making it more complicated to add support for more component types in the future (and probably hurting performance by dealing with two BVH trees at the same time, though I didn't test that). Now each component is handled in a separate function, so that adding support for another component type is much simpler. |
Commit Details:
Full Hash: 70fbdcb6bf5107101e5cbde3b54138f0cc8a2668
Parent Commit: 5b751c9
Lines Changed: +103, -116
1 Modified Path:
/source/blender/nodes/geometry/nodes/node_geo_attribute_proximity.cc (+103, -116) (Diff)