Page MenuHome

Fix LookDev Preview spheres get clipped when the viewport is tall or wide

Authored by Pablo Dobarro (pablodp606) on Nov 16 2018, 2:56 AM.



Now the viewport for displaying the spheres has a minimum size.

Diff Detail

Event Timeline

This doesn't solve the problem, tested with 1080x1920 (tall) window.

Campbell Barton (campbellbarton) requested changes to this revision.Nov 16 2018, 6:52 AM
This revision now requires changes to proceed.Nov 16 2018, 6:52 AM

Make spheres viewport size only depend on viewport width. I'm testing it with an unscaled 4k monitor and seems to work fine, but maybe is a good idea to fix the viewport size to avoid potential problems.