summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-02-01 17:55:25 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-02-01 17:55:25 +0000
commit2d2519c3be44410418947c86a1595aab5459b529 (patch)
treedb127e24142368925d4da80435ad973d515871af /indra/newview/llvovolume.cpp
parentef5cbcb0604cbffbb6c153a433411fedcf4e5831 (diff)
parent3dc32880ae0f2f0f5499a7f271df666759fc220a (diff)
merge.
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 3f1ddc0ee7..a6caa2362b 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -2462,6 +2462,13 @@ void LLVOVolume::updateSpotLightPriority()
}
+bool LLVOVolume::isLightSpotlight() const
+{
+ LLLightImageParams* params = (LLLightImageParams*) getParameterEntry(LLNetworkData::PARAMS_LIGHT_IMAGE);
+ return params->isLightSpotlight();
+}
+
+
LLViewerTexture* LLVOVolume::getLightTexture()
{
LLUUID id = getLightTextureID();