diff options
author | Germano Cavalcante <germano.costa@ig.com.br> | 2021-12-09 05:47:26 +0300 |
---|---|---|
committer | Germano Cavalcante <germano.costa@ig.com.br> | 2021-12-09 05:47:26 +0300 |
commit | cf6be711e2a00bb0836a33c07cf6cd383ee15c4f (patch) | |
tree | d8988604ab3be73483fbd474bc9938051f2124b6 /source/blender/editors/space_node/drawnode.cc | |
parent | 3753a0b72bd855fb2ed458ef2c06682b227ec6fd (diff) |
Fix T93869: snap cursor may fail in orthographic view
Float precision issues cause the `ED_view3d_win_to_3d_on_plane` to return
a value even when the view ray is parallel to the plane.
A more general solution might be desired in this case, as other areas that
use `ED_view3d_win_to_3d_on_plane` might have the same problem.
For now, just work around the problem for the snap cursor.
Diffstat (limited to 'source/blender/editors/space_node/drawnode.cc')
0 files changed, 0 insertions, 0 deletions