diff options
author | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-02 22:38:39 +0000 |
---|---|---|
committer | Tofu Linden <tofu.linden@lindenlab.com> | 2010-02-02 22:38:39 +0000 |
commit | 56bd8e1f4de45c63b896908c601aac13ffc57235 (patch) | |
tree | 50206e2b62478b8d2f20796f5dbfff7a540a4425 | |
parent | 2d2519c3be44410418947c86a1595aab5459b529 (diff) |
Trying to resolve a strange crash in LLUUID::isNull()... by avoiding it for now.
-rw-r--r-- | indra/llprimitive/llprimitive.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llprimitive/llprimitive.h b/indra/llprimitive/llprimitive.h index c25f9cf4a8..a44b9a6c1f 100644 --- a/indra/llprimitive/llprimitive.h +++ b/indra/llprimitive/llprimitive.h @@ -286,7 +286,7 @@ public: void setLightTexture(const LLUUID& id) { mLightTexture = id; } LLUUID getLightTexture() const { return mLightTexture; } - bool isLightSpotlight() const { return !mLightTexture.isNull(); } + bool isLightSpotlight() const { return mLightTexture.notNull(); } void setParams(const LLVector3& params) { mParams = params; } LLVector3 getParams() const { return mParams; } |