diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-27 12:34:05 +0100 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-05-27 12:34:05 +0100 |
commit | be6dc84b12c0c12975d8317604e5bff85fa14049 (patch) | |
tree | 8e79762251a307cedbac037ece893cf12b0ef9b2 /indra/llprimitive | |
parent | e5273960de222ffae32405fde8e9fd566ff72d0a (diff) | |
parent | 94bddd2b4450674b9f121a10b97f0846b6a97d87 (diff) |
merge from viewer-public
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 4f828186cb..e67d436887 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.notNull(); } void setParams(const LLVector3& params) { mParams = params; } LLVector3 getParams() const { return mParams; } |