mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-24 13:08:49 -05:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user