History

hook up menu-items to control debug rendering of collision hulls and owned simulations

Seth Alves committed 11 years ago

Commit e0076171 parent 265115711 files · +50 −28Browse files

Showing the changes to interface/src/Menu.cpp (1 of 11 files). Show all

Unified · Split

interface/src/Menu.cpp+5−0
@@ -549,6 +549,11 @@ Menu::Menu() { · 548 unmodified lines
549549 statsRenderer.data(),
550550 SLOT(toggleShowInjectedStreams()));
551551
552+
553+ QMenu* physicsOptionsMenu = developerMenu->addMenu("Physics");
554+ addCheckableActionToQMenuAndActionHash(physicsOptionsMenu, MenuOption::PhysicsShowOwned);
555+ addCheckableActionToQMenuAndActionHash(physicsOptionsMenu, MenuOption::PhysicsShowHulls);
556+
552557 QMenu* helpMenu = addMenu("Help");
553558 addActionToQMenuAndActionHash(helpMenu, MenuOption::EditEntitiesHelp, 0, qApp, SLOT(showEditEntitiesHelp()));
554559