mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 17:00:13 +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() {
|
void Application::goHome() {
|
||||||
|
printLog("Going Home!\n");
|
||||||
_myAvatar.setPosition(START_LOCATION);
|
_myAvatar.setPosition(START_LOCATION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -150,6 +150,8 @@ private slots:
|
||||||
void copyVoxels();
|
void copyVoxels();
|
||||||
void pasteVoxels();
|
void pasteVoxels();
|
||||||
void runTests();
|
void runTests();
|
||||||
|
void goHome();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
static void broadcastToNodes(unsigned char* data, size_t bytes, const char type);
|
static void broadcastToNodes(unsigned char* data, size_t bytes, const char type);
|
||||||
|
@ -181,7 +183,6 @@ private:
|
||||||
void maybeEditVoxelUnderCursor();
|
void maybeEditVoxelUnderCursor();
|
||||||
void deleteVoxelUnderCursor();
|
void deleteVoxelUnderCursor();
|
||||||
void eyedropperVoxelUnderCursor();
|
void eyedropperVoxelUnderCursor();
|
||||||
void goHome();
|
|
||||||
void resetSensors();
|
void resetSensors();
|
||||||
|
|
||||||
void setMenuShortcutsEnabled(bool enabled);
|
void setMenuShortcutsEnabled(bool enabled);
|
||||||
|
|
Loading…
Reference in a new issue