* Moved several stranded delegates and enums inside parent classes
* Updated the various clients to reflect the moved delegates and enums * Redid Avatar, AvatarManager, and MainAvatar almost from the ground up * Moved the avatar caching to AvatarTracker in libsecondlife.Utilities, AvatarManager only does lookups now * Added support for fuzzy avatar searching through the Picker packets (alternative to directory searches) * Added a unit test for AvatarTracker.GetAvatarName() * Removed unused references from SLProxy * Whitespace reformatting in ImageManager * Renamed Tests.cs to NetworkTests.cs to reflect its contents properly git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@754 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -57,19 +57,19 @@ namespace IA_TestAsyncImage
|
||||
|
||||
private void Objects_OnNewAvatar(Simulator simulator, Avatar avatar, ulong regionHandle, ushort timeDilation)
|
||||
{
|
||||
if (avatar.FirstLifeImage != null)
|
||||
if (avatar.ProfileProperties.FirstLifeImage != null)
|
||||
{
|
||||
if (_Client.Images.isCachedImage(avatar.FirstLifeImage) == false)
|
||||
if (_Client.Images.isCachedImage(avatar.ProfileProperties.FirstLifeImage) == false)
|
||||
{
|
||||
_Client.Images.RequestImageAsync(avatar.FirstLifeImage);
|
||||
_Client.Images.RequestImageAsync(avatar.ProfileProperties.FirstLifeImage);
|
||||
}
|
||||
}
|
||||
|
||||
if (avatar.ProfileImage != null)
|
||||
if (avatar.ProfileProperties.ProfileImage != null)
|
||||
{
|
||||
if (_Client.Images.isCachedImage(avatar.FirstLifeImage) == false)
|
||||
if (_Client.Images.isCachedImage(avatar.ProfileProperties.FirstLifeImage) == false)
|
||||
{
|
||||
_Client.Images.RequestImageAsync(avatar.ProfileImage);
|
||||
_Client.Images.RequestImageAsync(avatar.ProfileProperties.ProfileImage);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user