diff options
author | John Hurliman | 2009-09-30 15:53:03 -0700 |
---|---|---|
committer | John Hurliman | 2009-09-30 15:53:03 -0700 |
commit | 5dfd2643dfc530280e5dcd0056b59add7d49f313 (patch) | |
tree | 1e508a2e9be42eda630f0b97c4fac9606a288a7e /OpenSim/Client/MXP | |
parent | Prevent null data being sent to the decoder (diff) | |
download | opensim-SC_OLD-5dfd2643dfc530280e5dcd0056b59add7d49f313.zip opensim-SC_OLD-5dfd2643dfc530280e5dcd0056b59add7d49f313.tar.gz opensim-SC_OLD-5dfd2643dfc530280e5dcd0056b59add7d49f313.tar.bz2 opensim-SC_OLD-5dfd2643dfc530280e5dcd0056b59add7d49f313.tar.xz |
* 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
Diffstat (limited to 'OpenSim/Client/MXP')
-rw-r--r-- | OpenSim/Client/MXP/ClientStack/MXPClientView.cs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs index 82ad942..180f5e0 100644 --- a/OpenSim/Client/MXP/ClientStack/MXPClientView.cs +++ b/OpenSim/Client/MXP/ClientStack/MXPClientView.cs | |||
@@ -826,12 +826,7 @@ namespace OpenSim.Client.MXP.ClientStack | |||
826 | OpenSim.Region.Framework.Scenes.Scene scene=(OpenSim.Region.Framework.Scenes.Scene)Scene; | 826 | OpenSim.Region.Framework.Scenes.Scene scene=(OpenSim.Region.Framework.Scenes.Scene)Scene; |
827 | AvatarAppearance appearance; | 827 | AvatarAppearance appearance; |
828 | scene.GetAvatarAppearance(this,out appearance); | 828 | scene.GetAvatarAppearance(this,out appearance); |
829 | List<byte> visualParams = new List<byte>(); | 829 | OnSetAppearance(appearance.Texture, (byte[])appearance.VisualParams.Clone()); |
830 | foreach (byte visualParam in appearance.VisualParams) | ||
831 | { | ||
832 | visualParams.Add(visualParam); | ||
833 | } | ||
834 | OnSetAppearance(appearance.Texture.GetBytes(), visualParams); | ||
835 | } | 830 | } |
836 | 831 | ||
837 | public void Stop() | 832 | public void Stop() |