mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 08:04:01 +02:00
temporary debug setup: dump physics stats on F key
This commit is contained in:
parent
eaef08abd5
commit
2089a8c2dd
1 changed files with 5 additions and 0 deletions
|
@ -975,6 +975,11 @@ void Application::keyPressEvent(QKeyEvent* event) {
|
|||
_myAvatar->setDriveKeys(UP, 1.0f);
|
||||
break;
|
||||
|
||||
case Qt::Key_F: {
|
||||
_physicsEngine.dumpNextStats();
|
||||
break;
|
||||
}
|
||||
|
||||
case Qt::Key_Asterisk:
|
||||
Menu::getInstance()->triggerOption(MenuOption::Stars);
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue