When zooming we have to recompile the rotation GlList as zoom factor is required to calculate the rotation.
svn path=/trunk/KDE/kdebase/workspace/; revision=971915
This commit is contained in:
parent
f9be59fdc3
commit
d5c7fa7957
1 changed files with 2 additions and 0 deletions
|
@ -1913,9 +1913,11 @@ void CubeEffect::grabbedKeyboardEvent( QKeyEvent* e )
|
||||||
case Qt::Key_Plus:
|
case Qt::Key_Plus:
|
||||||
zoom -= 10.0;
|
zoom -= 10.0;
|
||||||
zoom = qMax( -zPosition, zoom );
|
zoom = qMax( -zPosition, zoom );
|
||||||
|
recompileList = true;
|
||||||
break;
|
break;
|
||||||
case Qt::Key_Minus:
|
case Qt::Key_Minus:
|
||||||
zoom += 10.0f;
|
zoom += 10.0f;
|
||||||
|
recompileList = true;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue