mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
take unit tests limited settings in consideration on setappearance
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user