Showing the changes to interface/src/Menu.cpp (1 of 49 files). Show all
Unified · Split
| @@ -46,6 +46,7 @@ · 45 unmodified lines | ||
| 46 | 46 | #include "InterfaceLogging.h" |
| 47 | 47 | #include "LocationBookmarks.h" |
| 48 | 48 | #include "DeferredLightingEffect.h" |
| 49 | +#include "PickManager.h" | |
| 49 | 50 | |
| 50 | 51 | #include "AmbientOcclusionEffect.h" |
| 51 | 52 | #include "RenderShadowTask.h" |
| @@ -747,8 +748,16 @@ Menu::Menu() { · 695 unmodified lines | ||
| 747 | 748 | addCheckableActionToQMenuAndActionHash(physicsOptionsMenu, MenuOption::PhysicsShowBulletConstraints, 0, false, qApp, SLOT(setShowBulletConstraints(bool))); |
| 748 | 749 | addCheckableActionToQMenuAndActionHash(physicsOptionsMenu, MenuOption::PhysicsShowBulletConstraintLimits, 0, false, qApp, SLOT(setShowBulletConstraintLimits(bool))); |
| 749 | 750 | |
| 751 | + // Developer > Picking >>> | |
| 752 | + MenuWrapper* pickingOptionsMenu = developerMenu->addMenu("Picking"); | |
| 753 | + addCheckableActionToQMenuAndActionHash(pickingOptionsMenu, MenuOption::ForceCoarsePicking, 0, false, | |
| 754 | + DependencyManager::get<PickManager>().data(), SLOT(setForceCoarsePicking(bool))); | |
| 755 | + | |
| 750 | 756 | // Developer > Crash >>> |
| 751 | 757 | MenuWrapper* crashMenu = developerMenu->addMenu("Crash"); |
| 758 | + | |
| 759 | + // Developer > Crash > Display Crash Options | |
| 760 | + addCheckableActionToQMenuAndActionHash(crashMenu, MenuOption::DisplayCrashOptions, 0, true); | |
| 752 | 761 | |
| 753 | 762 | // Developer > Crash > Display Crash Options |
| 754 | 763 | addCheckableActionToQMenuAndActionHash(crashMenu, MenuOption::DisplayCrashOptions, 0, true); |