summaryrefslogtreecommitdiff
path: root/indra/newview/llreflectionmap.cpp
diff options
context:
space:
mode:
authorRye Cogtail <rye@lindenlab.com>2024-09-30 23:20:21 -0400
committerRye Cogtail <rye@lindenlab.com>2024-09-30 23:20:21 -0400
commit022f4bd043ffe5864fce244651c725e70c15c28c (patch)
tree50b1e6ba9fee413a8367bd8ae4911ff08dc8c180 /indra/newview/llreflectionmap.cpp
parent75a1e50fb25e52de29fc2155905c0592736eea80 (diff)
Fix GCC complaint about type truncation
Diffstat (limited to 'indra/newview/llreflectionmap.cpp')
-rw-r--r--indra/newview/llreflectionmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llreflectionmap.cpp b/indra/newview/llreflectionmap.cpp
index f77d37f821..07e2c39379 100644
--- a/indra/newview/llreflectionmap.cpp
+++ b/indra/newview/llreflectionmap.cpp
@@ -256,7 +256,7 @@ bool LLReflectionMap::getBox(LLMatrix4& box)
glm::mat4 mv(get_current_modelview());
LLVector3 s = mViewerObject->getScale().scaledVec(LLVector3(0.5f, 0.5f, 0.5f));
mRadius = s.magVec();
- glm::mat4 scale = glm::scale(glm::make_vec3(s.mV));
+ glm::mat4 scale = glm::scale(glm::make_vec3(LLVector4(s).mV));
if (mViewerObject->mDrawable != nullptr)
{
// object to agent space (no scale)