History

move Avatar goHome to Avatar slot

Stephen Birarda committed 13 years ago

Commit bbe23961 parent ce3afbc5 files · +20 −21Browse files

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

Unified · Split

interface/src/Application.cpp+0−11
@@ -72,11 +72,6 @@ static char STAR_CACHE_FILE[] = "cachedStars.txt"; · 71 unmodified lines
7272
7373 static const int BANDWIDTH_METER_CLICK_MAX_DRAG_LENGTH = 6; // farther dragged clicks are ignored
7474
75−// Where one's own Avatar begins in the world (will be overwritten if avatar data file is found)
76−// this is basically in the center of the ground plane. Slightly adjusted. This was asked for by
77−// Grayson as he's building a street around here for demo dinner 2
78−const glm::vec3 START_LOCATION(0.485f * TREE_SCALE, 0.f, 0.5f * TREE_SCALE);
79−
8075 const int IDLE_SIMULATE_MSECS = 16; // How often should call simulate and other stuff
8176 // in the idle loop? (60 FPS is default)
8277 static QTimer* idleTimer = NULL;
@@ -3365,12 +3360,6 @@ void Application::eyedropperVoxelUnderCursor() { · 3282 unmodified lines
33653360 }
33663361 }
33673362
3368−void Application::goHome() {
3369− qDebug("Going Home!\n");
3370− _myAvatar.setPosition(START_LOCATION);
3371−}
3372−
3373−
33743363 void Application::toggleFollowMode() {
33753364 glm::vec3 mouseRayOrigin, mouseRayDirection;
33763365 _viewFrustum.computePickRay(_pieMenu.getX() / (float)_glWidget->width(),

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