mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-15 16:16:39 +02:00
fix invokeMethod in AvatarManager::findRayIntersection
This commit is contained in:
parent
5e7e6d2f3e
commit
8a0d58a0c2
1 changed files with 1 additions and 0 deletions
|
@ -405,6 +405,7 @@ RayToAvatarIntersectionResult AvatarManager::findRayIntersection(const PickRay&
|
|||
if (QThread::currentThread() != thread()) {
|
||||
RayToAvatarIntersectionResult result;
|
||||
QMetaObject::invokeMethod(const_cast<AvatarManager*>(this), "findRayIntersection", Qt::BlockingQueuedConnection,
|
||||
Q_ARG(const PickRay&, ray),
|
||||
Q_ARG(const QScriptValue&, avatarIdsToInclude),
|
||||
Q_ARG(const QScriptValue&, avatarIdsToDiscard),
|
||||
Q_RETURN_ARG(RayToAvatarIntersectionResult, result));
|
||||
|
|
Loading…
Reference in a new issue