From 09f77279e2d95544896ac5364229bced37d868ac Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Wed, 10 Jul 2013 13:42:43 -0700 Subject: [PATCH] add shortcut key to enable wants occlusion culling --- interface/src/Application.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index c5ee474ae2..f06b22f40c 100755 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1586,7 +1586,8 @@ void Application::initMenu() { debugMenu->addAction("Wants Monochrome", this, SLOT(setWantsMonochrome(bool)))->setCheckable(true); debugMenu->addAction("Wants View Delta Sending", this, SLOT(setWantsDelta(bool)))->setCheckable(true); (_shouldLowPassFilter = debugMenu->addAction("Test: LowPass filter"))->setCheckable(true); - debugMenu->addAction("Wants Occlusion Culling", this, SLOT(setWantsOcclusionCulling(bool)))->setCheckable(true); + debugMenu->addAction("Wants Occlusion Culling", this, SLOT(setWantsOcclusionCulling(bool)), + Qt::SHIFT | Qt::Key_C)->setCheckable(true); (_renderCoverageMap = debugMenu->addAction("Render Coverage Map"))->setCheckable(true); _renderCoverageMap->setShortcut(Qt::SHIFT | Qt::CTRL | Qt::Key_O);