History

removed hand lasers because they had been renamed so they weren't removed

SamGondelman committed 11 years ago

Commit 782a5c41 parent 2bb7a205 files · +11 −24Browse files

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

Unified · Split

interface/src/Application.cpp+1−6
@@ -2838,7 +2838,7 @@ void Application::emulateMouse(Hand* hand, float click, float shift, int index) · 2837 unmodified lines
28382838
28392839 unsigned int deviceID = index == 0 ? CONTROLLER_0_EVENT : CONTROLLER_1_EVENT;
28402840
2841− if (Menu::getInstance()->isOptionChecked(MenuOption::HandLasers) || qApp->isHMDMode()) {
2841+ if (qApp->isHMDMode()) {
28422842 pos = qApp->getApplicationCompositor().getPalmClickLocation(palm);
28432843 }
28442844 else {
@@ -3551,11 +3551,6 @@ void Application::displaySide(RenderArgs* renderArgs, Camera& theCamera, bool se · 706 unmodified lines
35513551 sceneInterface->setEngineDrawnOverlay3DItems(engineRC->_numDrawnOverlay3DItems);
35523552 }
35533553
3554− //Render the sixense lasers
3555− if (Menu::getInstance()->isOptionChecked(MenuOption::HandLasers)) {
3556− _myAvatar->renderLaserPointers(*renderArgs->_batch);
3557− }
3558−
35593554 if (!selfAvatarOnly) {
35603555 // give external parties a change to hook in
35613556 {

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