summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2024-01-24 16:22:45 -0800
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2024-01-24 16:22:45 -0800
commita888531fd1fbf7de0d71b4d04195d4267c882154 (patch)
tree73bd6f4e2683ab95d7f49a115a75f3b40851f068 /indra/newview/llviewerobject.cpp
parent42b51bfd2cccba1dfdc820a4a033481fd42c1907 (diff)
https://github.com/secondlife/viewer-issues/issues/23 Make the face selection for mirrors actually reflect what it does
Diffstat (limited to 'indra/newview/llviewerobject.cpp')
-rw-r--r--indra/newview/llviewerobject.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp
index 88494f419c..691a2e14d3 100644
--- a/indra/newview/llviewerobject.cpp
+++ b/indra/newview/llviewerobject.cpp
@@ -314,8 +314,8 @@ LLViewerObject::LLViewerObject(const LLUUID &id, const LLPCode pcode, LLViewerRe
mCachedMuteListUpdateTime(0),
mCachedOwnerInMuteList(false),
mRiggedAttachedWarned(false),
-mIsMirror(false),
-mMirrorPlacementMode(3)
+ mIsMirror(false),
+ mMirrorFace(3)
{
if (!is_global)
{
@@ -1558,7 +1558,7 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys,
std::string temp_string;
mesgsys->getStringFast(_PREHASH_ObjectData, _PREHASH_Text, temp_string, block_num );
- detectMirror(temp_string, mIsMirror, mMirrorPlacementMode);
+ detectMirror(temp_string, mIsMirror, mMirrorFace);
LLColor4U coloru;
mesgsys->getBinaryDataFast(_PREHASH_ObjectData, _PREHASH_TextColor, coloru.mV, 4, block_num);
@@ -1946,7 +1946,7 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys,
std::string temp_string;
dp->unpackString(temp_string, "Text");
- detectMirror(temp_string, mIsMirror, mMirrorPlacementMode);
+ detectMirror(temp_string, mIsMirror, mMirrorFace);
LLColor4U coloru;
dp->unpackBinaryDataFixed(coloru.mV, 4, "Color");