diff options
author | andreykproductengine <akleshchev@productengine.com> | 2016-07-19 19:33:50 +0300 |
---|---|---|
committer | andreykproductengine <akleshchev@productengine.com> | 2016-07-19 19:33:50 +0300 |
commit | ee51eee6275d6238a606da028a779bb07dc3b64c (patch) | |
tree | 08e33a02dec1e268524c9ab2e96c5180bf5755b2 /indra/newview/llvovolume.h | |
parent | 936681cb82d0ec70013430a131aa7cdbe163725b (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.h | 3 |
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; |