From 7486684436583a4d9a1b800833581b26e83b9c0b Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Thu, 7 Aug 2014 22:47:29 +0100 Subject: update the max number of texture faces and wearables to current values. This should be safe now.. --- OpenSim/Framework/WearableCacheItem.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'OpenSim/Framework/WearableCacheItem.cs') diff --git a/OpenSim/Framework/WearableCacheItem.cs b/OpenSim/Framework/WearableCacheItem.cs index cde2862..a890d3b 100644 --- a/OpenSim/Framework/WearableCacheItem.cs +++ b/OpenSim/Framework/WearableCacheItem.cs @@ -43,12 +43,14 @@ namespace OpenSim.Framework public static WearableCacheItem[] GetDefaultCacheItem() { - int itemmax = 21; + int itemmax = AvatarAppearance.TEXTURE_COUNT; WearableCacheItem[] retitems = new WearableCacheItem[itemmax]; for (uint i=0;i ret = new List(); -- cgit v1.1