mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-26 22:19:17 -06:00
Remove downloaded file for texturePlane
This commit is contained in:
@@ -36,7 +36,9 @@ DataSurfaceContainer::DataSurfaceContainer(const ghoul::Dictionary& dictionary)
|
||||
std::cout << "Created datasurface container" << std::endl;
|
||||
}
|
||||
|
||||
DataSurfaceContainer::~DataSurfaceContainer(){}
|
||||
DataSurfaceContainer::~DataSurfaceContainer(){
|
||||
deinitialize();
|
||||
}
|
||||
|
||||
bool DataSurfaceContainer::initialize(){
|
||||
std::cout << "Initialized datasurface container" << std::endl;
|
||||
@@ -45,7 +47,10 @@ bool DataSurfaceContainer::initialize(){
|
||||
// addDataSurface("${OPENSPACE_DATA}/ENLIL.cdf");
|
||||
addTextureSurface("${OPENSPACE_DATA}/test.png");
|
||||
}
|
||||
bool DataSurfaceContainer::deinitialize(){}
|
||||
bool DataSurfaceContainer::deinitialize(){
|
||||
for(dataSurface : _dataSurfaces)
|
||||
dataSurface->deinitialize();
|
||||
}
|
||||
bool DataSurfaceContainer::isReady() const {}
|
||||
|
||||
void DataSurfaceContainer::render(const RenderData& data){
|
||||
|
||||
@@ -61,7 +61,9 @@ TexturePlane::TexturePlane(std::string path)
|
||||
}
|
||||
|
||||
|
||||
TexturePlane::~TexturePlane(){}
|
||||
TexturePlane::~TexturePlane(){
|
||||
|
||||
}
|
||||
|
||||
|
||||
bool TexturePlane::initialize(){
|
||||
@@ -104,6 +106,8 @@ bool TexturePlane::deinitialize(){
|
||||
_shader = nullptr;
|
||||
}
|
||||
|
||||
std::remove(absPath("${OPENSPACE_DATA}/dataplane.jpg").c_str());
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user