summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.h
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2016-07-19 19:33:50 +0300
committerandreykproductengine <akleshchev@productengine.com>2016-07-19 19:33:50 +0300
commitee51eee6275d6238a606da028a779bb07dc3b64c (patch)
tree08e33a02dec1e268524c9ab2e96c5180bf5755b2 /indra/newview/llvovolume.h
parent936681cb82d0ec70013430a131aa7cdbe163725b (diff)
MAINT-6259 rigged items' LOD should be size dependent, not only avatar dependent
Diffstat (limited to 'indra/newview/llvovolume.h')
-rw-r--r--indra/newview/llvovolume.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llvovolume.h b/indra/newview/llvovolume.h
index a331908320..ca9917069b 100644
--- a/indra/newview/llvovolume.h
+++ b/indra/newview/llvovolume.h
@@ -327,7 +327,7 @@ public:
void clearRiggedVolume();
protected:
- S32 computeLODDetail(F32 distance, F32 radius);
+ S32 computeLODDetail(F32 distance, F32 radius, F32 lod_factor);
BOOL calcLOD();
LLFace* addFace(S32 face_index);
void updateTEData();
@@ -379,6 +379,7 @@ private:
public:
static F32 sLODSlopDistanceFactor;// Changing this to zero, effectively disables the LOD transition slop
static F32 sLODFactor; // LOD scale factor
+ static F32 sRiggedFactorMultiplier; // Worn rigged LOD scale factor multiplier
static F32 sDistanceFactor; // LOD distance factor
static LLPointer<LLObjectMediaDataClient> sObjectMediaClient;