summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorRuslan Teliuk <ruslantproductengine@lindenlab.com>2016-07-25 08:49:19 +0300
committerRuslan Teliuk <ruslantproductengine@lindenlab.com>2016-07-25 08:49:19 +0300
commit7a58ae0f17ec495f32b7e2383f7313db6101119c (patch)
tree6e6d67ffd6ee5b9135082bf4aaa54a245cf30462 /indra/newview/llvovolume.cpp
parentd66d8e727a377705a8be2a3de7930efe200c81c3 (diff)
parent62e7640ad5b0b183290e94b2950fd6288bd3d31c (diff)
Merged in ruslantproductengine/viewer-neko-ruslant-4-cr (pull request #3)
MAINT-6125 Mesh avatar deforms constantly
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r--indra/newview/llvovolume.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 486f6fae61..fde997d54e 100644
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -1753,7 +1753,10 @@ BOOL LLVOVolume::updateGeometry(LLDrawable *drawable)
dirtySpatialGroup(drawable->isState(LLDrawable::IN_REBUILD_Q1));
compiled = TRUE;
lodOrSculptChanged(drawable, compiled);
- genBBoxes(FALSE);
+ if (!mLODChanged)
+ {
+ genBBoxes(FALSE);
+ }
}
// it has its own drawable (it's moved) or it has changed UVs or it has changed xforms from global<->local
else