summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llprimitive.h
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/llprimitive/llprimitive.h
parentef5cbcb0604cbffbb6c153a433411fedcf4e5831 (diff)
parent3dc32880ae0f2f0f5499a7f271df666759fc220a (diff)
merge.
Diffstat (limited to 'indra/llprimitive/llprimitive.h')
-rw-r--r--indra/llprimitive/llprimitive.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llprimitive/llprimitive.h b/indra/llprimitive/llprimitive.h
index 4db7aa7261..c25f9cf4a8 100644
--- a/indra/llprimitive/llprimitive.h
+++ b/indra/llprimitive/llprimitive.h
@@ -286,6 +286,7 @@ public:
void setLightTexture(const LLUUID& id) { mLightTexture = id; }
LLUUID getLightTexture() const { return mLightTexture; }
+ bool isLightSpotlight() const { return !mLightTexture.isNull(); }
void setParams(const LLVector3& params) { mParams = params; }
LLVector3 getParams() const { return mParams; }