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 | ad51a5855f22ecd8d6064093c6c755c0a87638d1 (patch) | |
tree | f0bda2ea487627edac7dd626eed1b16d9c1ab988 /indra | |
parent | ec05d08ed907755cce300f95e9f4ba75a782f582 (diff) |
Trying to resolve a strange crash in LLUUID::isNull()... by avoiding it for now.
Diffstat (limited to 'indra')
-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 59697d1ebd..e67d436887 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; } |