summaryrefslogtreecommitdiff
path: root/indra/newview/llsprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llsprite.h')
-rw-r--r--indra/newview/llsprite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llsprite.h b/indra/newview/llsprite.h
index 322150e85b..03026fd071 100644
--- a/indra/newview/llsprite.h
+++ b/indra/newview/llsprite.h
@@ -73,7 +73,7 @@ public:
void setColor(const LLColor4 &color);
void setColor(const F32 r, const F32 g, const F32 b, const F32 a);
void setAlpha(const F32 alpha) { mColor.mV[VALPHA] = alpha; }
- void setNormal(const LLVector3 &normal) { sNormal = normal; sNormal.normVec();}
+ void setNormal(const LLVector3 &normal) { sNormal = normal; sNormal.normalize();}
F32 getAlpha();