Fix comments on PR

This commit is contained in:
Ylva Selling
2022-10-27 14:07:39 -04:00
parent 2d566b02ee
commit 70bfeb12ed
2 changed files with 2 additions and 3 deletions

View File

@@ -37,7 +37,6 @@ namespace openspace {
class ScreenSpaceSkyBrowser : public ScreenSpaceRenderable, public WwtCommunicator {
public:
static constexpr int RadiusTimeOut = 25;
explicit ScreenSpaceSkyBrowser(const ghoul::Dictionary& dictionary);
~ScreenSpaceSkyBrowser() override;
@@ -68,6 +67,7 @@ public:
static documentation::Documentation Documentation();
private:
static constexpr int RadiusTimeOut = 25;
properties::FloatProperty _textureQuality;
properties::BoolProperty _isHidden;
std::vector<std::unique_ptr<properties::Vec3Property>> _displayCopies;

View File

@@ -130,7 +130,7 @@ ScreenSpaceSkyBrowser::ScreenSpaceSkyBrowser(const ghoul::Dictionary& dictionary
_scale.onChange([this]() {
updateTextureResolution();
_borderRadiusTimer = 0;
});
});
_useRadiusAzimuthElevation.onChange(
[this]() {
@@ -334,7 +334,6 @@ void ScreenSpaceSkyBrowser::update() {
_borderRadiusTimer = -1;
}
_borderRadiusTimer++;
ScreenSpaceRenderable::update();
WwtCommunicator::update();