Page MenuHome

Fix T86666: Using Lasso and Circle select tools, objects which are not visible due to camera clipping are also selected
ClosedPublic

Authored by Germano Cavalcante (mano-wii) on Mar 19 2021, 7:14 PM.

Details

Summary

Although it works apparently well in most cases, the algorithm to detect
if a point is within the limits of the camera does not work in othographic
mode and does not consider the clip_end.

This patch corrects the algorithm and adds the option
V3D_PROJ_TEST_CLIP_FAR.

Ref T86666

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 13651
Build 13651: arc lint + arc unit

Event Timeline

Germano Cavalcante (mano-wii) requested review of this revision.Mar 19 2021, 7:14 PM
Germano Cavalcante (mano-wii) created this revision.
  • vec4[3] -> fz
Germano Cavalcante (mano-wii) planned changes to this revision.Mar 22 2021, 5:23 AM
  • Remove the use of V3D_PROJ_TEST_CLIP_FAR (but leave the code for possible future use)

Better not to change current behavior.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 22 2021, 4:46 PM
This revision was automatically updated to reflect the committed changes.