-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix dragging 3D view with mouse when camera is far
Before, when looking at a greater area (e.g. spanning 200km or more), dragging 3D view with left mouse button would not work at all. Only when zoomed in more it would start working again. This was cause by unproject() method in Qt having tolerance against division by zero very high. Lowering the tolerance by few magnitudes fixed the problem (1e-5 to 1e-10)
- Loading branch information
Showing
1 changed file
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters