Blender Git Loki

Git Commits -> Revision b265b44

Revision b265b44 by Hans Goudey (master)
December 16, 2021, 00:05 (GMT)
Fix various cases of incorrect filtering in node link drag search

Some nodes didn't check the type of the link's socket for filtering.
Do this with a combination of manually calling the node tree's validate
links function and using the helper function for declarations.

Also clean up a few cases that added geometry sockets manually
when they can use the simpler helper function.

Commit Details:

Full Hash: b265b447b639601ab53d1dc3cae0c3a95020cd64
Parent Commit: 36a830b
Lines Changed: +74, -75

9 Modified Paths:

/source/blender/nodes/geometry/nodes/node_geo_attribute_capture.cc (+5, -8) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_primitive_quadrilateral.cc (+4, -7) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_curve_trim.cc (+19, -17) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_mesh_primitive_line.cc (+28, -25) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_raycast.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_string_to_curves.cc (+1, -1) (Diff)
/source/blender/nodes/geometry/nodes/node_geo_transfer_attribute.cc (+2, -8) (Diff)
/source/blender/nodes/shader/nodes/node_shader_math.cc (+7, -4) (Diff)
/source/blender/nodes/shader/nodes/node_shader_vector_math.cc (+7, -4) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021