GillesDebunne / libQGLViewer

libQGLViewer is an open source C++ library based on Qt that eases the creation of OpenGL 3D viewers.
Other
240 stars 94 forks source link

Picking with Qt5 does not work #2

Closed gregorburger closed 10 years ago

gregorburger commented 10 years ago

Picking in QGLViewer with Qt 5.2 does not work. It stopped working in my application so I tried the "select" example and it does not work either. It seems that callbacks are not called (e.g. postSelection)

GillesDebunne commented 10 years ago

Thanks for this feedback.

This is indeed a bug, due to Qt5 deprecation of a constant. The next version of the library will fix this issue.

A very temporary workaround is to override mousePressEvent and detect the Shift click yourself.

GillesDebunne commented 10 years ago

Fixed in 2.5.0.