Page MenuHome

Fix T71795: Unproject with high clipping range sometimes results in nans
Needs ReviewPublic

Authored by Germano Cavalcante (mano-wii) on Tue, Nov 26, 9:45 PM.



In some cases you cannot get the original value of clip_end through the projection matrix.
It might be a good idea to figure out the maximum limit for these float operations and update mat4_frustum_set to not fall in such cases.
But this patch only intended to prevent unproject operations from operating with infs and nans.

Ref T71795

Diff Detail

rB Blender
Build Status
Buildable 5784
Build 5784: arc lint + arc unit

Event Timeline