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 | e8899c4f4c2ae95f108b9bbf543e401debc9c588 (patch) | |
tree | e21e17e0f666b00b1868f619b4faecca9b99e60d /indra/llprimitive | |
parent | 04bfd00a5d8ae7326211d867af7c3f577ff06763 (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')
-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 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; } |