Skip to content

Commit

Permalink
wasd-in-optix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouhang95 committed Oct 17, 2023
1 parent b0d7d32 commit 2660f71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ui/zenoedit/viewport/optixviewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 2660f71

Please sign in to comment.