History

Added developer option to draw IK targets in world.

(cherry picked from commit 7e7803c648313c7667e2944c220383c7eb03e5cc)

Anthony J. Thibault committed 10 years ago

Commit dd17b2e1 parent 0d2e0eb6 files · +39 −0Browse files

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

Unified · Split

interface/src/Menu.cpp+2−0
@@ -510,6 +510,8 @@ Menu::Menu() { · 509 unmodified lines
510510 avatar.get(), SLOT(setEnableInverseKinematics(bool)));
511511 addCheckableActionToQMenuAndActionHash(avatarDebugMenu, MenuOption::RenderSensorToWorldMatrix, 0, false,
512512 avatar.get(), SLOT(setEnableDebugDrawSensorToWorldMatrix(bool)));
513+ addCheckableActionToQMenuAndActionHash(avatarDebugMenu, MenuOption::RenderIKTargets, 0, false,
514+ avatar.get(), SLOT(setEnableDebugDrawIKTargets(bool)));
513515
514516 addCheckableActionToQMenuAndActionHash(avatarDebugMenu, MenuOption::ActionMotorControl,
515517 Qt::CTRL | Qt::SHIFT | Qt::Key_K, true, avatar.get(), SLOT(updateMotionBehaviorFromMenu()),