summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2020-03-30 23:27:04 -0400
committerRye Mutt <rye@alchemyviewer.org>2020-03-30 23:27:04 -0400
commit516ca236597e9e76193dd597edddc6a2fd7b0912 (patch)
treec6655f424686900a84b8b08f88f9cfdf1a4ac081 /indra/newview/llvovolume.cpp
parent3dc71d1ce97f2a4017f7a0eff056856b02742911 (diff)
Update falloff fix with changes requested in review.
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 29be841847..ec10d3e22c 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -3376,12 +3376,12 @@ F32 LLVOVolume::getLightRadius() const
}
}
-F32 LLVOVolume::getLightFalloff() const
+F32 LLVOVolume::getLightFalloff(const F32 fudge_factor) const
{
const LLLightParams *param_block = (const LLLightParams *)getParameterEntry(LLNetworkData::PARAMS_LIGHT);
if (param_block)
{
- return param_block->getFalloff();
+ return param_block->getFalloff() * fudge_factor;
}
else
{