mirror of
https://github.com/opensim/opensim.git
synced 2026-08-13 05:05:43 +08:00
Merge branch 'master' of melanie@opensimulator.org:/var/git/opensim
This commit is contained in:
@@ -101,9 +101,8 @@ namespace OpenSim.Framework
|
||||
|
||||
public AvatarAppearance(UUID owner)
|
||||
{
|
||||
// DEBUG ON
|
||||
m_log.WarnFormat("[AVATAR APPEARANCE] create empty appearance for {0}",owner);
|
||||
// DEBUG OFF
|
||||
// m_log.WarnFormat("[AVATAR APPEARANCE]: create empty appearance for {0}",owner);
|
||||
|
||||
m_serial = 1;
|
||||
m_owner = owner;
|
||||
|
||||
@@ -117,9 +116,8 @@ namespace OpenSim.Framework
|
||||
|
||||
public AvatarAppearance(UUID avatarID, OSDMap map)
|
||||
{
|
||||
// DEBUG ON
|
||||
m_log.WarnFormat("[AVATAR APPEARANCE] create appearance for {0} from OSDMap",avatarID);
|
||||
// DEBUG OFF
|
||||
// m_log.WarnFormat("[AVATAR APPEARANCE]: create appearance for {0} from OSDMap",avatarID);
|
||||
|
||||
m_owner = avatarID;
|
||||
Unpack(map);
|
||||
SetHeight();
|
||||
@@ -127,9 +125,8 @@ namespace OpenSim.Framework
|
||||
|
||||
public AvatarAppearance(UUID avatarID, AvatarWearable[] wearables, Primitive.TextureEntry textureEntry, byte[] visualParams)
|
||||
{
|
||||
// DEBUG ON
|
||||
m_log.WarnFormat("[AVATAR APPEARANCE] create initialized appearance for {0}",avatarID);
|
||||
// DEBUG OFF
|
||||
// m_log.WarnFormat("[AVATAR APPEARANCE] create initialized appearance for {0}",avatarID);
|
||||
|
||||
m_serial = 1;
|
||||
m_owner = avatarID;
|
||||
|
||||
@@ -155,9 +152,8 @@ namespace OpenSim.Framework
|
||||
|
||||
public AvatarAppearance(AvatarAppearance appearance)
|
||||
{
|
||||
// DEBUG ON
|
||||
m_log.WarnFormat("[AVATAR APPEARANCE] create from an existing appearance");
|
||||
// DEBUG OFF
|
||||
// m_log.WarnFormat("[AVATAR APPEARANCE] create from an existing appearance");
|
||||
|
||||
if (appearance == null)
|
||||
{
|
||||
m_serial = 1;
|
||||
@@ -251,10 +247,9 @@ namespace OpenSim.Framework
|
||||
}
|
||||
|
||||
changed = true;
|
||||
// DEBUG ON
|
||||
if (newface != null)
|
||||
m_log.WarnFormat("[AVATAR APPEARANCE] index {0}, new texture id {1}",i,newface.TextureID);
|
||||
// DEBUG OFF
|
||||
|
||||
// if (newface != null)
|
||||
// m_log.WarnFormat("[AVATAR APPEARANCE]: index {0}, new texture id {1}",i,newface.TextureID);
|
||||
}
|
||||
|
||||
m_texture = textureEntry;
|
||||
@@ -519,7 +514,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
else
|
||||
{
|
||||
m_log.Warn("[AVATARAPPEARANCE] failed to unpack wearables");
|
||||
m_log.Warn("[AVATAR APPEARANCE]: failed to unpack wearables");
|
||||
}
|
||||
|
||||
// Avatar Textures
|
||||
@@ -537,7 +532,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
else
|
||||
{
|
||||
m_log.Warn("[AVATARAPPEARANCE] failed to unpack textures");
|
||||
m_log.Warn("[AVATAR APPEARANCE]: failed to unpack textures");
|
||||
}
|
||||
|
||||
// Visual Parameters
|
||||
@@ -549,7 +544,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
else
|
||||
{
|
||||
m_log.Warn("[AVATARAPPEARANCE] failed to unpack visual parameters");
|
||||
m_log.Warn("[AVATAR APPEARANCE]: failed to unpack visual parameters");
|
||||
}
|
||||
|
||||
// Attachments
|
||||
@@ -563,7 +558,7 @@ namespace OpenSim.Framework
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
m_log.ErrorFormat("[AVATARAPPEARANCE] unpack failed badly: {0}",e.Message);
|
||||
m_log.ErrorFormat("[AVATAR APPEARANCE]: unpack failed badly: {0}{1}", e.Message, e.StackTrace);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -988,9 +988,7 @@ namespace OpenSim.Framework.Capabilities
|
||||
|
||||
public void BakedTextureUploaded(UUID assetID, byte[] data)
|
||||
{
|
||||
// DEBUG ON
|
||||
m_log.WarnFormat("[CAPS]: Received baked texture {0}", assetID.ToString());
|
||||
// DEBUG OFF
|
||||
// m_log.WarnFormat("[CAPS]: Received baked texture {0}", assetID.ToString());
|
||||
AssetBase asset;
|
||||
asset = new AssetBase(assetID, "Baked Texture", (sbyte)AssetType.Texture, m_agentID.ToString());
|
||||
asset.Data = data;
|
||||
|
||||
Reference in New Issue
Block a user