mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 18:23:54 +02:00
set imageURL in ImageOverlay when imageURL is changed
This commit is contained in:
parent
45763a96d7
commit
14f216e9c7
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ ImageOverlay::~ImageOverlay() {
|
|||
|
||||
// TODO: handle setting image multiple times, how do we manage releasing the bound texture?
|
||||
void ImageOverlay::setImageURL(const QUrl& url) {
|
||||
_imageURL = url;
|
||||
_isLoaded = false;
|
||||
QNetworkAccessManager& networkAccessManager = NetworkAccessManager::getInstance();
|
||||
QNetworkReply* reply = networkAccessManager.get(QNetworkRequest(url));
|
||||
|
|
Loading…
Reference in a new issue