diff options
author | Justin Clark-Casey (justincc) | 2011-11-03 22:52:14 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-11-03 22:52:14 +0000 |
commit | 69a405713583ca309ee4c5310ae87a942e614ebe (patch) | |
tree | 5df0ecb93e2f7497ef3b12438b9a1ee6fef441dd /OpenSim | |
parent | actually remove the sleep from PhysicsBehaviour that I shifted to Bot a coupl... (diff) | |
download | opensim-SC_OLD-69a405713583ca309ee4c5310ae87a942e614ebe.zip opensim-SC_OLD-69a405713583ca309ee4c5310ae87a942e614ebe.tar.gz opensim-SC_OLD-69a405713583ca309ee4c5310ae87a942e614ebe.tar.bz2 opensim-SC_OLD-69a405713583ca309ee4c5310ae87a942e614ebe.tar.xz |
remove the pointless check of the face texture struct against null in Bot.Objects_NewPrim()
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Tools/pCampBot/Bot.cs | 4 |
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 | ||