diff --git a/src/libopenrave-core/jsonparser/jsonreader.cpp b/src/libopenrave-core/jsonparser/jsonreader.cpp index 294858beff..34ff854902 100644 --- a/src/libopenrave-core/jsonparser/jsonreader.cpp +++ b/src/libopenrave-core/jsonparser/jsonreader.cpp @@ -280,6 +280,7 @@ class JSONReader #if OPENRAVE_CURL JSONDownloaderScope jsonDownload(_contextdesc, *_pDownloader, alloc, !(_deserializeOptions & IDO_IgnoreReferenceUri)); jsonDownload.QueueDownloadReferenceURIs(_bMustResolveURI, rEnvInfo); + jsonDownload.QueueDownloadURI(pReferenceUri); if( !jsonDownload.WaitForDownloads(_bMustResolveURI, _downloadTimeoutUS) ) { RAVELOG_VERBOSE("failed downloads"); //return false;