Commit 76aaa8f8 authored by Luis Peñaranda's avatar Luis Peñaranda

changed ctrl+wheel by shift+wheel

parent f40aaca4
......@@ -677,7 +677,7 @@ void OpenGLCanvas::mouseMoveEvent(QMouseEvent *event){
void OpenGLCanvas::wheelEvent(QWheelEvent *event){
if(event->orientation()==Qt::Vertical){
if(event->modifiers()==Qt::ControlModifier){
if(event->modifiers()==Qt::ShiftModifier){
change_fov_max(fov_max+((double)event->delta())/30);
}else{
change_fov(fov+((double)event->delta())/30);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment