Properly make the goHome() function in slot group

This commit is contained in:
Philip Rosedale 2013-07-03 23:43:53 -07:00
parent 5df09b2932
commit d70eb38542
2 changed files with 3 additions and 1 deletions

View file

@ -2791,6 +2791,7 @@ void Application::eyedropperVoxelUnderCursor() {
}
void Application::goHome() {
printLog("Going Home!\n");
_myAvatar.setPosition(START_LOCATION);
}

View file

@ -150,6 +150,8 @@ private slots:
void copyVoxels();
void pasteVoxels();
void runTests();
void goHome();
private:
static void broadcastToNodes(unsigned char* data, size_t bytes, const char type);
@ -181,7 +183,6 @@ private:
void maybeEditVoxelUnderCursor();
void deleteVoxelUnderCursor();
void eyedropperVoxelUnderCursor();
void goHome();
void resetSensors();
void setMenuShortcutsEnabled(bool enabled);