Blender Git Commit Log

Git Commits -> Revision 1f1e90a

Revision 1f1e90a by Germano Cavalcante (master)
March 21, 2019, 20:04 (GMT)
Fix T59890: regression of the precision when projecting the cursor.

Basically the framebuffer size was different from the glViewport size.
This made the depth read in glReadPixel not corresponding to the center of the pixel.

Another thing that reduced precision compared to blender 2.79 is the `GPU_matrix_unproject` that now computes using `float`s instead of `double`s.
But this may be for another commit.

Commit Details:

Full Hash: 1f1e90a013301b4283fdf9300e7e68b7fc55d894
Parent Commit: c1da8d8
Lines Changed: +11, -16

1 Modified Path:

/source/blender/draw/intern/draw_manager.c (+11, -16) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021