aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Tools/pCampBot/Bot.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Tools/pCampBot/Bot.cs')
-rw-r--r--OpenSim/Tools/pCampBot/Bot.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Tools/pCampBot/Bot.cs b/OpenSim/Tools/pCampBot/Bot.cs
index dac8ccb..32bf32b 100644
--- a/OpenSim/Tools/pCampBot/Bot.cs
+++ b/OpenSim/Tools/pCampBot/Bot.cs
@@ -59,6 +59,11 @@ namespace pCampBot
59 public delegate void AnEvent(Bot callbot, EventType someevent); // event delegate for bot events 59 public delegate void AnEvent(Bot callbot, EventType someevent); // event delegate for bot events
60 60
61 /// <summary> 61 /// <summary>
62 /// Controls whether bots request textures for the object information they receive
63 /// </summary>
64 public bool RequestObjectTextures { get; set; }
65
66 /// <summary>
62 /// Bot manager. 67 /// Bot manager.
63 /// </summary> 68 /// </summary>
64 public BotManager Manager { get; private set; } 69 public BotManager Manager { get; private set; }
@@ -469,6 +474,9 @@ namespace pCampBot
469 474
470 public void Objects_NewPrim(object sender, PrimEventArgs args) 475 public void Objects_NewPrim(object sender, PrimEventArgs args)
471 { 476 {
477 if (!RequestObjectTextures)
478 return;
479
472 Primitive prim = args.Prim; 480 Primitive prim = args.Prim;
473 481
474 if (prim != null) 482 if (prim != null)