aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
authorUbitUmarov2017-05-11 23:46:06 +0100
committerUbitUmarov2017-05-11 23:46:06 +0100
commit19d141c9a5848cbcc972b3e200ea0bff38f75b1a (patch)
tree5c35e6ec603d350f5241c7f9d2d165eff9a07b79 /OpenSim/Region/ClientStack
parentremove a coment added by mistake (diff)
downloadopensim-SC_OLD-19d141c9a5848cbcc972b3e200ea0bff38f75b1a.zip
opensim-SC_OLD-19d141c9a5848cbcc972b3e200ea0bff38f75b1a.tar.gz
opensim-SC_OLD-19d141c9a5848cbcc972b3e200ea0bff38f75b1a.tar.bz2
opensim-SC_OLD-19d141c9a5848cbcc972b3e200ea0bff38f75b1a.tar.xz
avoid a null ref
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index cf96a8b..5b3c3e6 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -12569,11 +12569,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP
12569 } 12569 }
12570 12570
12571 int maxWearablesLoop = cachedtex.WearableData.Length; 12571 int maxWearablesLoop = cachedtex.WearableData.Length;
12572 if (maxWearablesLoop > cacheItems.Length)
12573 maxWearablesLoop = cacheItems.Length;
12574 12572
12575 if (cacheItems != null) 12573 if (cacheItems != null)
12576 { 12574 {
12575 if (maxWearablesLoop > cacheItems.Length)
12576 maxWearablesLoop = cacheItems.Length;
12577 for (int i = 0; i < maxWearablesLoop; i++) 12577 for (int i = 0; i < maxWearablesLoop; i++)
12578 { 12578 {
12579 int idx = cachedtex.WearableData[i].TextureIndex; 12579 int idx = cachedtex.WearableData[i].TextureIndex;