History

OpenVR: More usable UI Sphere overlay location

Also, added a debug option to display SensorToWorld matrix in Developer > Avatar menu.

Anthony Thibault committed 10 years ago

Commit 5df616b1 parent 4af37666 files · +33 −9Browse files

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

Unified · Split

interface/src/Menu.cpp+2−0
@@ -471,6 +471,8 @@ Menu::Menu() { · 470 unmodified lines
471471 avatar, SLOT(setUseAnimPreAndPostRotations(bool)));
472472 addCheckableActionToQMenuAndActionHash(avatarDebugMenu, MenuOption::EnableInverseKinematics, 0, true,
473473 avatar, SLOT(setEnableInverseKinematics(bool)));
474+ addCheckableActionToQMenuAndActionHash(avatarDebugMenu, MenuOption::RenderSensorToWorldMatrix, 0, false,
475+ avatar, SLOT(setEnableDebugDrawSensorToWorldMatrix(bool)));
474476
475477 addCheckableActionToQMenuAndActionHash(avatarDebugMenu, MenuOption::KeyboardMotorControl,
476478 Qt::CTRL | Qt::SHIFT | Qt::Key_K, true, avatar, SLOT(updateMotionBehaviorFromMenu()),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t