aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-03 22:52:14 +0000
committerJustin Clark-Casey (justincc)2011-11-03 22:52:14 +0000
commit69a405713583ca309ee4c5310ae87a942e614ebe (patch)
tree5df0ecb93e2f7497ef3b12438b9a1ee6fef441dd
parentactually remove the sleep from PhysicsBehaviour that I shifted to Bot a coupl... (diff)
downloadopensim-SC-69a405713583ca309ee4c5310ae87a942e614ebe.zip
opensim-SC-69a405713583ca309ee4c5310ae87a942e614ebe.tar.gz
opensim-SC-69a405713583ca309ee4c5310ae87a942e614ebe.tar.bz2
opensim-SC-69a405713583ca309ee4c5310ae87a942e614ebe.tar.xz
remove the pointless check of the face texture struct against null in Bot.Objects_NewPrim()
-rw-r--r--OpenSim/Tools/pCampBot/Bot.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Tools/pCampBot/Bot.cs b/OpenSim/Tools/pCampBot/Bot.cs
index bf01065..1b30766 100644
--- a/OpenSim/Tools/pCampBot/Bot.cs
+++ b/OpenSim/Tools/pCampBot/Bot.cs
@@ -449,10 +449,8 @@ namespace pCampBot
449 { 449 {
450 UUID textureID = prim.Textures.FaceTextures[i].TextureID; 450 UUID textureID = prim.Textures.FaceTextures[i].TextureID;
451 451
452 if (textureID != null && textureID != UUID.Zero) 452 if (textureID != UUID.Zero)
453 {
454 GetTexture(textureID); 453 GetTexture(textureID);
455 }
456 } 454 }
457 } 455 }
458 456