mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 13:55:35 +08:00
* Change the signature of the agent set appearance callback to prevent unnecessary serialization/deserialization of TextureEntry objects and allow TextureEntry to be inspected for missing bakes
* Inspect incoming TextureEntry updates for bakes that do not exist on the simulator and request the missing textures * Properly handle appearance updates that do not have a TextureEntry set
This commit is contained in:
@@ -826,12 +826,7 @@ namespace OpenSim.Client.MXP.ClientStack
|
||||
OpenSim.Region.Framework.Scenes.Scene scene=(OpenSim.Region.Framework.Scenes.Scene)Scene;
|
||||
AvatarAppearance appearance;
|
||||
scene.GetAvatarAppearance(this,out appearance);
|
||||
List<byte> visualParams = new List<byte>();
|
||||
foreach (byte visualParam in appearance.VisualParams)
|
||||
{
|
||||
visualParams.Add(visualParam);
|
||||
}
|
||||
OnSetAppearance(appearance.Texture.GetBytes(), visualParams);
|
||||
OnSetAppearance(appearance.Texture, (byte[])appearance.VisualParams.Clone());
|
||||
}
|
||||
|
||||
public void Stop()
|
||||
|
||||
Reference in New Issue
Block a user