take unit tests limited settings in consideration on setappearance
parent
ecfa3cf7dc
commit
025fc98262
|
@ -354,7 +354,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
||||||
// called on textures update
|
// called on textures update
|
||||||
public bool UpdateBakedTextureCache(IScenePresence sp, WearableCacheItem[] cacheItems)
|
public bool UpdateBakedTextureCache(IScenePresence sp, WearableCacheItem[] cacheItems)
|
||||||
{
|
{
|
||||||
if(cacheItems == null)
|
if(cacheItems == null || cacheItems.Length == 0)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// npcs dont have baked cache
|
// npcs dont have baked cache
|
||||||
|
@ -436,7 +436,7 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory
|
||||||
}
|
}
|
||||||
|
|
||||||
// this may be a current fs bug
|
// this may be a current fs bug
|
||||||
for (int i = 0; i < AvatarAppearance.BAKE_INDICES.Length; i++)
|
for (int i = AvatarAppearance.BAKES_COUNT_PV7; i < AvatarAppearance.BAKE_INDICES.Length; i++)
|
||||||
{
|
{
|
||||||
uint idx = AvatarAppearance.BAKE_INDICES[i];
|
uint idx = AvatarAppearance.BAKE_INDICES[i];
|
||||||
if(updatedFaces.Contains(idx))
|
if(updatedFaces.Contains(idx))
|
||||||
|
|
Loading…
Reference in New Issue