Skip to content

(visuOgreQt): properly compute cameras aspect ratio

Romain MANCIAUX requested to merge fix-viewport-resize into dev

What does this MR do?

If a Ogre layer as a ratio different of 1:1, the camera aspect ratio of the layer is badly computed. It's due to the resize event that retrieve the wrong viewport ratio. It must be fixed with this MR.

How to test it?

Try OgreViewer, and switch to the negato view mode. And try to resize the application.

Edited by Romain MANCIAUX

Merge request reports