mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 04:49:45 +02:00
Don't show share dialog for anonymous users
This commit is contained in:
parent
9f05d71796
commit
d90e15ad58
1 changed files with 5 additions and 0 deletions
|
@ -3715,6 +3715,11 @@ void Application::takeSnapshot() {
|
|||
|
||||
QString fileName = Snapshot::saveSnapshot(_glWidget, _myAvatar);
|
||||
|
||||
AccountManager& accountManager = AccountManager::getInstance();
|
||||
if (!accountManager.isLoggedIn()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_snapshotShareDialog) {
|
||||
_snapshotShareDialog = new SnapshotShareDialog(fileName, _glWidget);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue