Merge branch 'master' of https://github.com/siana/SingularityViewer
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
const S32 LL_VERSION_MAJOR = 1;
|
||||
const S32 LL_VERSION_MINOR = 6;
|
||||
const S32 LL_VERSION_PATCH = 0;
|
||||
const S32 LL_VERSION_BUILD = 2;
|
||||
const S32 LL_VERSION_BUILD = 3;
|
||||
|
||||
const char * const LL_CHANNEL = "Singularity";
|
||||
|
||||
|
||||
@@ -9,6 +9,18 @@
|
||||
<string>settings_rlv.xml</string>
|
||||
</array>
|
||||
|
||||
<key>SGTextFadeDistance</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Distance after which HUD text starts to fade</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>F32</string>
|
||||
<key>Value</key>
|
||||
<integer>8.0</integer>
|
||||
</map>
|
||||
|
||||
<key>CCSAllowNameplateOverride</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
||||
@@ -3127,7 +3127,7 @@ void dumpVFSCaches()
|
||||
U32 LLAppViewer::getTextureCacheVersion()
|
||||
{
|
||||
//viewer texture cache version, change if the texture cache format changes.
|
||||
static const U32 TEXTURE_CACHE_VERSION = 7;
|
||||
static const U32 TEXTURE_CACHE_VERSION = 8;
|
||||
|
||||
return TEXTURE_CACHE_VERSION ;
|
||||
}
|
||||
|
||||
@@ -108,8 +108,8 @@ LLHUDText::LLHUDText(const U8 type) :
|
||||
{
|
||||
mColor = LLColor4(1.f, 1.f, 1.f, 1.f);
|
||||
mDoFade = TRUE;
|
||||
mFadeDistance = 8.f;
|
||||
mFadeRange = 4.f;
|
||||
mFadeDistance = gSavedSettings.getF32("SGTextFadeDistance");
|
||||
mFadeRange = mFadeDistance/2.f;
|
||||
mZCompare = TRUE;
|
||||
mDropShadow = TRUE;
|
||||
mOffscreen = FALSE;
|
||||
|
||||
Reference in New Issue
Block a user