diff --git a/src/octree/OctreeExample.cpp b/src/octree/OctreeExample.cpp index 4dc81e93c..ad7ad0f30 100644 --- a/src/octree/OctreeExample.cpp +++ b/src/octree/OctreeExample.cpp @@ -253,6 +253,8 @@ void OctreeExample::keyPressEvent(KeyEvent& event) { } } else if(event.key() == KeyEvent::Key::V) { _visualizeOctree = !_visualizeOctree; + } else if(event.key() == KeyEvent::Key::Esc) { + exit(); } }