Closing this, this approach is unlikely to be taken with more time to look into the root cause.
Bumping this from the 4.3 milestone. Unfortunately with RC coming up any change to fix this would be relatively large and likely too risky to actually attempt before the release.
So, I'm a bit confused by what specifically needs clarification here - based on your latest comment @Rawalanche, the specific issue that you're trying to automate seems to be a bug (See: #126638)…
Not for the PR but thanks for the note. Should there be a
BLI_math_snapping
to store the math functions?
In general yeah I think something like BLI_math_snapping
would be good for it,…
Seems generally reasonable to me; I think this consolidates the code well. I didn't do a lot of manual testing here, but I verified that we didn't regress and reintroduce the bug mentioned in #126199