mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 05:23:57 +02:00
Properly make the goHome() function in slot group
This commit is contained in:
parent
5df09b2932
commit
d70eb38542
2 changed files with 3 additions and 1 deletions
|
@ -2791,6 +2791,7 @@ void Application::eyedropperVoxelUnderCursor() {
|
|||
}
|
||||
|
||||
void Application::goHome() {
|
||||
printLog("Going Home!\n");
|
||||
_myAvatar.setPosition(START_LOCATION);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue