diff --git a/modules/iswa/rendering/textureplane.cpp b/modules/iswa/rendering/textureplane.cpp index 49cbcbcc54..1019f52a28 100644 --- a/modules/iswa/rendering/textureplane.cpp +++ b/modules/iswa/rendering/textureplane.cpp @@ -21,7 +21,6 @@ // * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE * // * OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * // ****************************************************************************************/ - #include #include #include @@ -157,20 +156,9 @@ void TexturePlane::setParent(){ } void TexturePlane::updateTexture(){ - int imageSize = 1024; - DownloadManager::FileFuture* future; - future = DlManager.downloadFile( - ISWAManager::ref().iSWAurl(_cygnetId.value()), - absPath(_path.value()), - true, - [](const DownloadManager::FileFuture& f){ - std::cout<<"download finished"< #include #include +#include + namespace openspace { class ISWACygnet; @@ -37,9 +39,11 @@ public: ISWAManager(); ~ISWAManager(); std::shared_ptr createISWACygnet(std::string); - std::string iSWAurl(int); + DownloadManager::FileFuture* downloadImage(int, std::string); + void downloadData(); private: + std::string iSWAurl(int); std::map _month; };