From 5011c657b5b8127927c75c4e1db496c15a394b3a Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Wed, 14 Aug 2013 23:37:07 +0100
Subject: Actually implement the bot request object textures switch started in
225cf0d.
Forgot to propogate it down to bot level.
---
OpenSim/Tools/pCampBot/Bot.cs | 8 ++++++++
1 file changed, 8 insertions(+)
(limited to 'OpenSim/Tools/pCampBot/Bot.cs')
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
public delegate void AnEvent(Bot callbot, EventType someevent); // event delegate for bot events
///
+ /// Controls whether bots request textures for the object information they receive
+ ///
+ public bool RequestObjectTextures { get; set; }
+
+ ///
/// Bot manager.
///
public BotManager Manager { get; private set; }
@@ -469,6 +474,9 @@ namespace pCampBot
public void Objects_NewPrim(object sender, PrimEventArgs args)
{
+ if (!RequestObjectTextures)
+ return;
+
Primitive prim = args.Prim;
if (prim != null)
--
cgit v1.1