mirror of
https://github.com/AleziaKurdis/overte.git
synced 2025-04-07 12:12:39 +02:00
callback return upon request if not running
This commit is contained in:
parent
28ab4096d0
commit
0cbaea4e27
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ bool OculusAPIPlugin::isRunning() const {
|
|||
void OculusAPIPlugin::requestNonceAndUserID(NonceUserIDCallback callback) {
|
||||
#ifdef OCULUS_APP_ID
|
||||
if (!isRunning()) {
|
||||
qCWarning(oculusLog) << "Oculus request failed: Oculus platform plugin not running";
|
||||
callback("", "");
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue