summaryrefslogtreecommitdiff
path: root/indra/newview/llface.h
diff options
context:
space:
mode:
authorruslantproductengine <ruslantproductengine@lindenlab.com>2019-04-04 19:18:50 +0300
committerruslantproductengine <ruslantproductengine@lindenlab.com>2019-04-04 19:18:50 +0300
commit1d994e77020597bb09c8fcc968477cee46a79aa2 (patch)
treefa4ab6f68d31cb3a37eb225f94bd0c036939b10a /indra/newview/llface.h
parent91baba4d9c8a7af33097cf6a7b532ca7d97d8430 (diff)
SL-5570 - Align planar faces" does not work on normal or specular maps
SL-10864 -Normal and Specular textures can be rotated with checked align planar faces checkbox Implement separate texture layers alignment.
Diffstat (limited to 'indra/newview/llface.h')
-rw-r--r--indra/newview/llface.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llface.h b/indra/newview/llface.h
index 736d45b7ad..10c2b31b6f 100644
--- a/indra/newview/llface.h
+++ b/indra/newview/llface.h
@@ -114,7 +114,7 @@ public:
LLVector2 surfaceToTexture(LLVector2 surface_coord, const LLVector4a& position, const LLVector4a& normal);
void getPlanarProjectedParams(LLQuaternion* face_rot, LLVector3* face_pos, F32* scale) const;
bool calcAlignedPlanarTE(const LLFace* align_to, LLVector2* st_offset,
- LLVector2* st_scale, F32* st_rot) const;
+ LLVector2* st_scale, F32* st_rot, LLRender::eTexIndex map = LLRender::DIFFUSE_MAP) const;
U32 getState() const { return mState; }
void setState(U32 state) { mState |= state; }