Blender Git Commit Log

Git Commits -> Revision 3ad0344

Revision 3ad0344 by Bastien Montagne (master)
February 5, 2016, 17:18 (GMT)
Fix T47326: Snap to vertices not working properly in orthogonal view mode.

Same causes as when snapping to faces, so same solution: in case of ortho view,
offset start of ray to be just slightly outside of the target's bbox, to avoid
too much far away start point that generate floating point computation instability
in BVH raycasting.

Note that this lead to some refactoring, to avoid duplicating too much of code.

For now, edge snapping seems to behave OK (uses different logic), so not touched.

Based on patch by Germano Cavalcante (@mano-wii), thanks!

Commit Details:

Full Hash: 3ad0344171dfa6a6116882e2e3b04ede26d4be65
Parent Commit: d3889e2
Lines Changed: +67, -64

1 Modified Path:

/source/blender/editors/transform/transform_snap.c (+67, -64) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021