Skip to content
Snippets Groups Projects
Commit 2fa89c29 authored by Timothée Couble's avatar Timothée Couble
Browse files

Fix line widget translation interaction bug

When moving a line widget with one of its axes at 0, it can lead to
matrix calculation inaccuracies. Theses inaccuracies result in a computed
value close to zero, but not precisely zero as it should be.
This slight offset prevent some filters relying on an intersection between
a line and a plane to works correctly.

Fix this bug by projecting the new point onto a plane that is defined
by the camera's orientation axis and a reference point within that plane.
parent 81b26829
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment