diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 4 |
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; |