Also, added a debug option to display SensorToWorld matrix in Developer > Avatar menu.
Showing the changes to interface/src/Menu.cpp (1 of 6 files). Show all
Unified · Split
| @@ -471,6 +471,8 @@ Menu::Menu() { · 470 unmodified lines | ||
| 471 | 471 | avatar, SLOT(setUseAnimPreAndPostRotations(bool))); |
| 472 | 472 | addCheckableActionToQMenuAndActionHash(avatarDebugMenu, MenuOption::EnableInverseKinematics, 0, true, |
| 473 | 473 | avatar, SLOT(setEnableInverseKinematics(bool))); |
| 474 | + addCheckableActionToQMenuAndActionHash(avatarDebugMenu, MenuOption::RenderSensorToWorldMatrix, 0, false, | |
| 475 | + avatar, SLOT(setEnableDebugDrawSensorToWorldMatrix(bool))); | |
| 474 | 476 | |
| 475 | 477 | addCheckableActionToQMenuAndActionHash(avatarDebugMenu, MenuOption::KeyboardMotorControl, |
| 476 | 478 | Qt::CTRL | Qt::SHIFT | Qt::Key_K, true, avatar, SLOT(updateMotionBehaviorFromMenu()), |