* Changed most of the Console.WriteLine() calls to SecondLife.Log() or .DebugLog()
* Updated the TextureEntry creation to properly display jackets (shoes may still be missing, not sure) git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@746 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
@@ -140,12 +140,11 @@ namespace libsecondlife.AssetSystem
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Console.WriteLine("ERROR: Disk Cache directory could not be established, defaulting to Memory Cache.");
|
||||
Console.WriteLine(e.Message);
|
||||
slClient.Log("Disk Cache directory could not be established, defaulting to Memory Cache: " + Environment.NewLine +
|
||||
e.ToString(), Helpers.LogLevel.Warning);
|
||||
|
||||
CacheType = CacheTypes.Memory;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Image Packet Helpers
|
||||
@@ -338,7 +337,7 @@ namespace libsecondlife.AssetSystem
|
||||
public void ImageDataCallbackHandler(Packet packet, Simulator simulator)
|
||||
{
|
||||
#if DEBUG_PACKETS
|
||||
Console.WriteLine(packet);
|
||||
slClient.DebugLog(packet);
|
||||
#endif
|
||||
|
||||
ImageDataPacket reply = (ImageDataPacket)packet;
|
||||
@@ -395,7 +394,7 @@ namespace libsecondlife.AssetSystem
|
||||
public void ImagePacketCallbackHandler(Packet packet, Simulator simulator)
|
||||
{
|
||||
#if DEBUG_PACKETS
|
||||
Console.WriteLine(packet);
|
||||
slClient.DebugLog(packet);
|
||||
#endif
|
||||
|
||||
ImagePacketPacket reply = (ImagePacketPacket)packet;
|
||||
@@ -447,7 +446,7 @@ namespace libsecondlife.AssetSystem
|
||||
public void ImageNotInDatabaseCallbackHandler(Packet packet, Simulator simulator)
|
||||
{
|
||||
#if DEBUG_PACKETS
|
||||
Console.WriteLine(packet);
|
||||
slClient.DebugLog(packet);
|
||||
#endif
|
||||
|
||||
ImageNotInDatabasePacket reply = (ImageNotInDatabasePacket)packet;
|
||||
|
||||
Reference in New Issue
Block a user