mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 08:21:24 +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);
|
_myAvatar->setDriveKeys(UP, 1.0f);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case Qt::Key_F: {
|
||||||
|
_physicsEngine.dumpNextStats();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case Qt::Key_Asterisk:
|
case Qt::Key_Asterisk:
|
||||||
Menu::getInstance()->triggerOption(MenuOption::Stars);
|
Menu::getInstance()->triggerOption(MenuOption::Stars);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue