diff options
Diffstat (limited to 'indra/newview/llvosky.h')
-rw-r--r-- | indra/newview/llvosky.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvosky.h b/indra/newview/llvosky.h index 836cd7add7..763cbe1419 100644 --- a/indra/newview/llvosky.h +++ b/indra/newview/llvosky.h @@ -257,7 +257,7 @@ public: void setHorizonVisibility(const F32 c = 1) { mHorizonVisibility = c; } const F32& getVisibility() const { return mVisibility; } void setVisibility(const F32 c = 1) { mVisibility = c; } - const F32 getHaloBrighness() const + F32 getHaloBrighness() const { return llmax(0.f, llmin(0.9f, mHorizonVisibility)) * mVisibility; } |