SkyBrowser Hash Handling (#2201)

* Add the loading of a hash for wwt image files and automatically force a redownload of the files if the hash has changed
* Move the wwtdataimages location into the sync folder
* Some general code cleanup
This commit is contained in:
Alexander Bock
2022-08-22 15:16:07 +02:00
committed by GitHub
parent 9ea284f6c6
commit 979a5e3378
21 changed files with 630 additions and 742 deletions
+4
View File
@@ -267,6 +267,10 @@ bool Renderable::matchesRenderBinMask(int binMask) {
return binMask & static_cast<int>(renderBin());
}
void Renderable::setFade(float fade) {
_fade = fade;
}
bool Renderable::isVisible() const {
return _enabled && _opacity > 0.f && _fade > 0.f;
}