diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-01 17:29:08 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-01 17:29:08 +0000 |
commit | 2581f9ba0a78416575e48a09616a0d5a8d0a360c (patch) | |
tree | c08c2163ef4bd37574bcc2aa7228c64de3a45dc8 /indra/llprimitive/llprimitive.h | |
parent | a857a71e097f3778a167c88980dc59c6960958bd (diff) |
start to abstract-out the 'is a spotlight' question so one day we can perhaps make the UI hurt less.
Diffstat (limited to 'indra/llprimitive/llprimitive.h')
-rw-r--r-- | indra/llprimitive/llprimitive.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llprimitive/llprimitive.h b/indra/llprimitive/llprimitive.h index 4f828186cb..59697d1ebd 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; } |