aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-08-03 21:36:00 +0100
committerJustin Clark-Casey (justincc)2012-08-03 21:36:00 +0100
commit789e88d8bd2a4e67623faec548db5389cc8fe918 (patch)
treed38f8587422b3694af1a763636145de8d12b6aee /OpenSim/Region/Framework/Scenes/Scene.cs
parentrefactor: rename SOG.RezzingObjectID to SOG.FromPartID to match FromFolderID,... (diff)
downloadopensim-SC_OLD-789e88d8bd2a4e67623faec548db5389cc8fe918.zip
opensim-SC_OLD-789e88d8bd2a4e67623faec548db5389cc8fe918.tar.gz
opensim-SC_OLD-789e88d8bd2a4e67623faec548db5389cc8fe918.tar.bz2
opensim-SC_OLD-789e88d8bd2a4e67623faec548db5389cc8fe918.tar.xz
Move previously unadvertised SendPeriodicAppearanceUpdates setting from [Startup] to [Appearance] config section.
Add description and default of false (as before) to OpenSimDefaults.ini If set to true, this config switch will resend avatar appearance information (a small amount of UUID data, not the baked textures themselves) to other avatars in the sim every 60 seconds. For me, this has helped with situations where avatars appear persistently grey - the LL viewer sometimes did not appear to request assets the first time the appearance data was sent. However, this switch will not help with other appearance failure situations (e.g. failure to bake assets). This setting is experimental but will not have any significant impact on the simulator if turned to true.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs8
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index c77457c..40cfb72 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -814,8 +814,14 @@ namespace OpenSim.Region.Framework.Scenes
814 m_update_presences = startupConfig.GetInt( "UpdateAgentsEveryNFrames", m_update_presences); 814 m_update_presences = startupConfig.GetInt( "UpdateAgentsEveryNFrames", m_update_presences);
815 m_update_terrain = startupConfig.GetInt( "UpdateTerrainEveryNFrames", m_update_terrain); 815 m_update_terrain = startupConfig.GetInt( "UpdateTerrainEveryNFrames", m_update_terrain);
816 m_update_temp_cleaning = startupConfig.GetInt( "UpdateTempCleaningEveryNFrames", m_update_temp_cleaning); 816 m_update_temp_cleaning = startupConfig.GetInt( "UpdateTempCleaningEveryNFrames", m_update_temp_cleaning);
817 }
817 818
818 SendPeriodicAppearanceUpdates = startupConfig.GetBoolean("SendPeriodicAppearanceUpdates", SendPeriodicAppearanceUpdates); 819 // FIXME: Ultimately this should be in a module.
820 IConfig appearanceConfig = m_config.Configs["Appearance"];
821 if (appearanceConfig != null)
822 {
823 SendPeriodicAppearanceUpdates
824 = appearanceConfig.GetBoolean("ResendAppearanceUpdates", SendPeriodicAppearanceUpdates);
819 } 825 }
820 826
821 #endregion Region Config 827 #endregion Region Config