mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-13 02:05:19 +02:00
Merge branch 'master' into feature/hand-controller-web-entity-integration
This commit is contained in:
commit
ed7eaebea8
1 changed files with 3 additions and 1 deletions
|
@ -62,8 +62,10 @@ void AssetMappingsScriptingInterface::getMapping(QString path, QJSValue callback
|
|||
auto request = assetClient->createGetMappingRequest(path);
|
||||
|
||||
connect(request, &GetMappingRequest::finished, this, [this, callback](GetMappingRequest* request) mutable {
|
||||
auto hash = request->getHash();
|
||||
|
||||
if (callback.isCallable()) {
|
||||
QJSValueList args { request->getErrorString() };
|
||||
QJSValueList args { request->getErrorString(), hash };
|
||||
callback.call(args);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue