Page MenuHome

Fix T101628: Correct frame node intersection in add reroute operator
ClosedPublic

Authored by Leon Schittek (lone_noel) on Oct 5 2022, 11:25 PM.

Details

Summary

Fix reroute nodes added via the cut link gesture being parented to the
wrong frame node.

The frame's bounds that are used for the intersection test with the
newly added reroute are in view space, but the reroute's location was
given in the node tree's coordinate space, when the add reroute
operator was recently refactored (56193eccf646).

Diff Detail

Repository
rB Blender

Event Timeline

Leon Schittek (lone_noel) requested review of this revision.Oct 5 2022, 11:25 PM
Leon Schittek (lone_noel) created this revision.

Thanks for looking into the bug. Looks like the order of operations with division got me. One statement doing too much I suppose.

This revision is now accepted and ready to land.Oct 5 2022, 11:37 PM