aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/BotManager.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2013-08-14 19:53:10 +0100
committerJustin Clark-Casey (justincc)2013-08-14 19:53:10 +0100
commit225cf0d0102d05721bd01120928b9d1d85c811a7 (patch)
treeb399d69f04f69f856ea577984559af3b2ad46b4e /OpenSim/Tools/pCampBot/BotManager.cs
parentAdd method doc to Scene.RemoveClient() to ask any callers to use Scene.Incomi... (diff)
downloadopensim-SC-225cf0d0102d05721bd01120928b9d1d85c811a7.zip
opensim-SC-225cf0d0102d05721bd01120928b9d1d85c811a7.tar.gz
opensim-SC-225cf0d0102d05721bd01120928b9d1d85c811a7.tar.bz2
opensim-SC-225cf0d0102d05721bd01120928b9d1d85c811a7.tar.xz
Add pCampbot RequestObjectTextures ini setting to control whether textures are requested for received objects.
Diffstat (limited to 'OpenSim/Tools/pCampBot/BotManager.cs')
-rw-r--r--OpenSim/Tools/pCampBot/BotManager.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/BotManager.cs b/OpenSim/Tools/pCampBot/BotManager.cs
index 0fdfa0e..5988584 100644
--- a/OpenSim/Tools/pCampBot/BotManager.cs
+++ b/OpenSim/Tools/pCampBot/BotManager.cs
@@ -68,6 +68,11 @@ namespace pCampBot
68 public bool InitBotSendAgentUpdates { get; set; } 68 public bool InitBotSendAgentUpdates { get; set; }
69 69
70 /// <summary> 70 /// <summary>
71 /// Controls whether bots request textures for the object information they receive
72 /// </summary>
73 public bool InitBotRequestObjectTextures { get; set; }
74
75 /// <summary>
71 /// Created bots, whether active or inactive. 76 /// Created bots, whether active or inactive.
72 /// </summary> 77 /// </summary>
73 protected List<Bot> m_lBot; 78 protected List<Bot> m_lBot;
@@ -93,6 +98,7 @@ namespace pCampBot
93 public BotManager() 98 public BotManager()
94 { 99 {
95 InitBotSendAgentUpdates = true; 100 InitBotSendAgentUpdates = true;
101 InitBotRequestObjectTextures = true;
96 102
97 LoginDelay = DefaultLoginDelay; 103 LoginDelay = DefaultLoginDelay;
98 104
@@ -176,6 +182,7 @@ namespace pCampBot
176 182
177 MainConsole.Instance.OutputFormat("[BOT MANAGER]: Delay between logins is {0}ms", LoginDelay); 183 MainConsole.Instance.OutputFormat("[BOT MANAGER]: Delay between logins is {0}ms", LoginDelay);
178 MainConsole.Instance.OutputFormat("[BOT MANAGER]: BotsSendAgentUpdates is {0}", InitBotSendAgentUpdates); 184 MainConsole.Instance.OutputFormat("[BOT MANAGER]: BotsSendAgentUpdates is {0}", InitBotSendAgentUpdates);
185 MainConsole.Instance.OutputFormat("[BOT MANAGER]: InitBotRequestObjectTextures is {0}", InitBotRequestObjectTextures);
179 186
180 for (int i = 0; i < botcount; i++) 187 for (int i = 0; i < botcount; i++)
181 { 188 {