Skip to content

Commit

Permalink
octree: Exit on Esc
Browse files Browse the repository at this point in the history
Signed-off-by: Squareys <[email protected]>
  • Loading branch information
Squareys committed Sep 16, 2016
1 parent beff3c5 commit 43beab1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/octree/OctreeExample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
}

Expand Down

0 comments on commit 43beab1

Please sign in to comment.