History

Rave out!

Philip Rosedale committed 12 years ago

Commit 3f957bb1 parent a1027b711 files · +5 −659Browse files

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

Unified · Split

interface/src/Application.cpp+0−11
@@ -609,12 +609,6 @@ void Application::keyPressEvent(QKeyEvent* event) { · 608 unmodified lines
609609 return;
610610 }
611611
612− //this is for switching between modes for the leap rave glove test
613− if (Menu::getInstance()->isOptionChecked(MenuOption::SimulateLeapHand)
614− || Menu::getInstance()->isOptionChecked(MenuOption::TestRaveGlove)) {
615− _myAvatar.getHand().setRaveGloveEffectsMode((QKeyEvent*)event);
616− }
617−
618612 bool isShifted = event->modifiers().testFlag(Qt::ShiftModifier);
619613 bool isMeta = event->modifiers().testFlag(Qt::ControlModifier);
620614 switch (event->key()) {
@@ -2252,7 +2246,6 @@ void Application::updateLeap(float deltaTime) { · 1631 unmodified lines
22522246 PerformanceWarning warn(showWarnings, "Application::updateLeap()");
22532247
22542248 LeapManager::enableFakeFingers(Menu::getInstance()->isOptionChecked(MenuOption::SimulateLeapHand));
2255− _myAvatar.getHand().setRaveGloveActive(Menu::getInstance()->isOptionChecked(MenuOption::TestRaveGlove));
22562249 LeapManager::nextFrame();
22572250 }
22582251
@@ -3086,12 +3079,8 @@ void Application::displaySide(Camera& whichCamera, bool selfAvatarOnly) { · 827 unmodified lines
30863079 }
30873080 }
30883081
3089− _myAvatar.renderScreenTint(SCREEN_TINT_BEFORE_AVATARS);
3090−
30913082 renderAvatars(whichCamera.getMode() == CAMERA_MODE_MIRROR, selfAvatarOnly);
30923083
3093− _myAvatar.renderScreenTint(SCREEN_TINT_AFTER_AVATARS);
3094−
30953084 if (!selfAvatarOnly) {
30963085 // Render the world box
30973086 if (whichCamera.getMode() != CAMERA_MODE_MIRROR && Menu::getInstance()->isOptionChecked(MenuOption::Stats)) {

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