summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llmodel.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2018-02-21 22:02:34 +0000
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2018-02-21 22:02:34 +0000
commit3f9b3e01b9d7ea3a6662adb55027839840198b4c (patch)
treea48b8d4d7079ad688e816eec043006681bf5f771 /indra/llprimitive/llmodel.cpp
parent2b7966302131975e8d270bbf2985b678f37d4b24 (diff)
MAINT-8264 - prevent at least some cases of LODs getting stuck at too-low values.
Diffstat (limited to 'indra/llprimitive/llmodel.cpp')
-rw-r--r--indra/llprimitive/llmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp
index db6d00bc2c..597cc66088 100644
--- a/indra/llprimitive/llmodel.cpp
+++ b/indra/llprimitive/llmodel.cpp
@@ -276,6 +276,7 @@ void LLModel::normalizeVolumeFaces()
// We shrink the extents so
// that they fall within
// the unit cube.
+ // VFExtents change
face.mExtents[0].add(trans);
face.mExtents[0].mul(scale);