mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Migrate detailed "appearance show" report generation up to AvatarFactoryModule from AppearanceInfoModule so that it can be used in debug (inactive).
Further filters "debug packet <level>" to exclused [Request]ObjectPropertiesFamily if level is below 25. Adjust some method doc Minor changes to some logging messages.
This commit is contained in:
@@ -31,9 +31,10 @@ using OpenSim.Framework;
|
||||
|
||||
namespace OpenSim.Region.Framework.Interfaces
|
||||
{
|
||||
public delegate void ReportOutputAction(string format, params object[] args);
|
||||
|
||||
public interface IAvatarFactoryModule
|
||||
{
|
||||
|
||||
void SetAppearance(IScenePresence sp, Primitive.TextureEntry textureEntry, byte[] visualParams);
|
||||
|
||||
/// <summary>
|
||||
@@ -63,5 +64,13 @@ namespace OpenSim.Region.Framework.Interfaces
|
||||
bool ValidateBakedTextureCache(IScenePresence sp);
|
||||
void QueueAppearanceSend(UUID agentid);
|
||||
void QueueAppearanceSave(UUID agentid);
|
||||
|
||||
/// <summary>
|
||||
/// Get a report about the current state of a scene presence's baked appearance textures.
|
||||
/// </summary>
|
||||
/// <param name="sp"></param>
|
||||
/// <param name="reportOutputAction"></param>
|
||||
/// <returns></returns>
|
||||
void WriteBakedTexturesReport(IScenePresence sp, ReportOutputAction reportOutputAction);
|
||||
}
|
||||
}
|
||||
@@ -2667,7 +2667,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
public void SendAppearanceToAgent(ScenePresence avatar)
|
||||
{
|
||||
// m_log.DebugFormat(
|
||||
// "[SCENE PRESENCE] Send appearance from {0} {1} to {2} {3}", Name, m_uuid, avatar.Name, avatar.UUID);
|
||||
// "[SCENE PRESENCE]: Sending appearance data from {0} {1} to {2} {3}", Name, m_uuid, avatar.Name, avatar.UUID);
|
||||
|
||||
avatar.ControllingClient.SendAppearance(
|
||||
UUID, Appearance.VisualParams, Appearance.Texture.GetBytes());
|
||||
|
||||
Reference in New Issue
Block a user