Commit 27615638 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] - now, pressing "." on your keyboard will reload all shaders. Note...

[CHANGE] - now, pressing "." on your keyboard will reload all shaders. Note that, while pressing ".", a WQtGlWidget needs to have the input focus as it reacts on this keystroke
parent 8d42450c
......@@ -231,6 +231,9 @@ void WQtGLWidget::keyReleaseEvent( QKeyEvent* event )
{
switch( event->key() )
{
case Qt::Key_Period:
WGraphicsEngine::getGraphicsEngine()->requestShaderReload();
break;
case Qt::Key_1:
setCameraManipulator( TRACKBALL );
break;
......
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