- new wav file - changed filename format
Showing the changes to interface/src/Application.cpp (1 of 3 files). Show all
Unified · Split
| @@ -699,7 +699,6 @@ void Application::keyPressEvent(QKeyEvent* event) { · 698 unmodified lines | |||
| 699 | 699 | ||
| 700 | bool isShifted = event->modifiers().testFlag(Qt::ShiftModifier); | 700 | bool isShifted = event->modifiers().testFlag(Qt::ShiftModifier); |
| 701 | bool isMeta = event->modifiers().testFlag(Qt::ControlModifier); | 701 | bool isMeta = event->modifiers().testFlag(Qt::ControlModifier); |
| 702 | bool isControl = event->modifiers().testFlag(Qt::MetaModifier); | ||
| 703 | switch (event->key()) { | 702 | switch (event->key()) { |
| 704 | break; | 703 | break; |
| 705 | case Qt::Key_Shift: | 704 | case Qt::Key_Shift: |
| @@ -778,7 +777,7 @@ void Application::keyPressEvent(QKeyEvent* event) { · 72 unmodified lines | |||
| 778 | _voxels.collectStatsForTreesAndVBOs(); | 777 | _voxels.collectStatsForTreesAndVBOs(); |
| 779 | } else if (isShifted && isMeta) { | 778 | } else if (isShifted && isMeta) { |
| 780 | Menu::getInstance()->triggerOption(MenuOption::SuppressShortTimings); | 779 | Menu::getInstance()->triggerOption(MenuOption::SuppressShortTimings); |
| 781 | } else if (!isShifted && !isMeta && isControl) { | 780 | } else if (!isShifted && isMeta) { |
| 782 | takeSnapshot(); | 781 | takeSnapshot(); |
| 783 | } else if (_nudgeStarted) { | 782 | } else if (_nudgeStarted) { |
| 784 | if (_lookingAlongX) { | 783 | if (_lookingAlongX) { |