From 626874f9ecbf210722b8211c971fc41497e27f24 Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Tue, 4 Jun 2013 08:47:57 -0700 Subject: [PATCH] add delete key support while in select mode --- interface/src/Application.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 56f1604e97..26d7f92533 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -617,6 +617,12 @@ void Application::keyPressEvent(QKeyEvent* event) { } resizeGL(_glWidget->width(), _glWidget->height()); break; + case Qt::Key_Backspace: + case Qt::Key_Delete: + if (_selectVoxelMode->isChecked()) { + deleteVoxelUnderCursor(); + } + break; default: event->ignore();