warnings if download to memory failed for some reason

This commit is contained in:
Michael Nilsson
2016-05-05 10:53:50 -04:00
parent 12baec3827
commit df030b4529
5 changed files with 42 additions and 22 deletions
+3 -1
View File
@@ -184,7 +184,9 @@ bool DataPlane::loadTexture() {
}
bool DataPlane::updateTexture(){
if(_futureObject)
// If a download is in progress, dont send another request.
if(_futureObject && !_futureObject->isFinished && !_futureObject->isAborted)
return false;
_memorybuffer = "";