diff --git a/ui/zenoedit/viewport/optixviewport.cpp b/ui/zenoedit/viewport/optixviewport.cpp index fa6ba8d7d5..c0b3cad70e 100644 --- a/ui/zenoedit/viewport/optixviewport.cpp +++ b/ui/zenoedit/viewport/optixviewport.cpp @@ -590,6 +590,10 @@ void ZOptixViewport::keyPressEvent(QKeyEvent* event) if (modifiers & Qt::AltModifier) { uKey += Qt::ALT; } + if (m_camera->fakeKeyPressEvent(uKey)) { + zenoApp->getMainWindow()->updateViewport(); + return; + } /* if (uKey == key) this->changeTransformOperation(0);