Merge branch 'master' into linux-updates
commit
eea4c27388
|
|
@ -85,4 +85,6 @@ indra/newview/avatar_lad.log
|
|||
indra/newview/pilot.txt
|
||||
indra/newview/pilot.xml
|
||||
#*.rej
|
||||
.*\.wixobj
|
||||
.*\.wixobj
|
||||
my_autobuild.xml
|
||||
.vscode
|
||||
|
|
@ -92,7 +92,7 @@ LLFolderDictionary::LLFolderDictionary()
|
|||
addEntry(LLFolderType::FT_MESH, new FolderEntry("mesh", TRUE));
|
||||
|
||||
addEntry(LLFolderType::FT_INBOX, new FolderEntry("inbox", TRUE));
|
||||
addEntry(LLFolderType::FT_OUTBOX, new FolderEntry("outbox", TRUE));
|
||||
addEntry(LLFolderType::FT_OUTBOX, new FolderEntry("outbox", FALSE)); // <FS:Ansariel> Make obsolete Merchant Outbox folder deletable
|
||||
|
||||
addEntry(LLFolderType::FT_BASIC_ROOT, new FolderEntry("basic_rt", TRUE));
|
||||
|
||||
|
|
|
|||
|
|
@ -3777,6 +3777,19 @@
|
|||
<key>Value</key>
|
||||
<integer>1</integer>
|
||||
</map>
|
||||
<key>CurrentlyUsingBakesOnMesh</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
<string>Are we currently on a grid that uses bakes on mesh? Persisted to force rebakes on login to named grids.</string>
|
||||
<key>Persist</key>
|
||||
<integer>1</integer>
|
||||
<key>Type</key>
|
||||
<string>Boolean</string>
|
||||
<key>Value</key>
|
||||
<integer>1</integer>
|
||||
<key>Backup</key>
|
||||
<integer>0</integer>
|
||||
</map>
|
||||
<key>CurrentGrid</key>
|
||||
<map>
|
||||
<key>Comment</key>
|
||||
|
|
|
|||
|
|
@ -114,7 +114,13 @@ NDOF_HotPlugResult LLViewerJoystick::HotPlugAddCallback(NDOF_Device *dev)
|
|||
if (joystick->mDriverState == JDS_UNINITIALIZED)
|
||||
{
|
||||
LL_INFOS() << "HotPlugAddCallback: will use device:" << LL_ENDL;
|
||||
|
||||
// <FS:ND> Disable for Linux till vs017 gets merged in to no having to support multiple version of libndofdev
|
||||
#ifndef LL_LINUX
|
||||
ndof_dump(dev);
|
||||
#endif
|
||||
// </FS:ND>
|
||||
|
||||
joystick->mNdofDev = dev;
|
||||
joystick->mDriverState = JDS_INITIALIZED;
|
||||
res = NDOF_KEEP_HOTPLUGGED;
|
||||
|
|
@ -133,7 +139,13 @@ void LLViewerJoystick::HotPlugRemovalCallback(NDOF_Device *dev)
|
|||
{
|
||||
LL_INFOS() << "HotPlugRemovalCallback: joystick->mNdofDev="
|
||||
<< joystick->mNdofDev << "; removed device:" << LL_ENDL;
|
||||
|
||||
// <FS:ND> Disable for Linux till vs017 gets merged in to no having to support multiple version of libndofdev
|
||||
#ifndef LL_LINUX
|
||||
ndof_dump(dev);
|
||||
#endif
|
||||
// </FS:ND>
|
||||
|
||||
joystick->mDriverState = JDS_UNINITIALIZED;
|
||||
}
|
||||
joystick->updateEnabled(true);
|
||||
|
|
|
|||
|
|
@ -10770,8 +10770,20 @@ void LLVOAvatar::updateRegion(LLViewerRegion *regionp)
|
|||
{
|
||||
//<FS:Beq> BOM constrain number of bake requests when BOM not supported,
|
||||
// TEX_HEAD_TATTOO and BAKED_LEFT_ARM are the first new entries
|
||||
// TODO(Beq): We might need to force some kind off rebake here?
|
||||
|
||||
sMaxBakes = gAgent.getRegion()->bakesOnMeshEnabled()?BAKED_NUM_INDICES:BAKED_LEFT_ARM;
|
||||
|
||||
if(!gSavedSettings.getBOOL("CurrentlyUsingBakesOnMesh") != getRegion()->bakesOnMeshEnabled())
|
||||
{
|
||||
// force a rebake when the last grid we were on (including previous login) had different BOM support
|
||||
// This replicates forceAppearanceUpdate rather than pulling in the whole of llavatarself.
|
||||
if(!LLGridManager::instance().isInSecondLife())
|
||||
{
|
||||
doAfterInterval(boost::bind(&LLVOAvatarSelf::forceBakeAllTextures, gAgentAvatarp.get(), true), 5.0);
|
||||
}
|
||||
// update the setting even if we are in SL so that switch SL to OS and back
|
||||
gSavedSettings.setBOOL("CurrentlyUsingBakesOnMesh", getRegion()->bakesOnMeshEnabled());
|
||||
}
|
||||
//</FS:Beq>
|
||||
LLViewerObject::updateRegion(regionp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue