[Interest] [Qt3D] QAbstractCameraController & escape key

Andy asmaloney at gmail.com
Thu Aug 2 00:10:08 CEST 2018


Back in April, a commit added the functionality that the escape key does a
"view all" on the scene.

 https://codereview.qt-project.org/#/c/226879/

How do I prevent this? I can't figure out a way to turn it off/override it
in my derived camera controller.

I have a ground plane and a model in the middle of it and when the user
hits escape it zooms the camera way out and it looks terrible (and it's
confusing).

This feels like an application-specific functionality that doesn't belong
in this abstract base class.

---
Andy Maloney  //  https://asmaloney.com
twitter ~ @asmaloney <https://twitter.com/asmaloney>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180801/4a0a7e94/attachment.html>


More information about the Interest mailing list