diff options
author | Melanie Thielker | 2014-11-10 04:46:51 +0100 |
---|---|---|
committer | Melanie Thielker | 2014-11-10 20:07:19 +0100 |
commit | 9be30aa9b781124bd110b4f9046ae0de08f0c146 (patch) | |
tree | 571053b37dbc76b55998e937b19fa104167ba374 /OpenSim | |
parent | Fix a potential nullref in Vivox (diff) | |
download | opensim-SC-9be30aa9b781124bd110b4f9046ae0de08f0c146.zip opensim-SC-9be30aa9b781124bd110b4f9046ae0de08f0c146.tar.gz opensim-SC-9be30aa9b781124bd110b4f9046ae0de08f0c146.tar.bz2 opensim-SC-9be30aa9b781124bd110b4f9046ae0de08f0c146.tar.xz |
Call the bake module each time we see a new attachment to see if the attachment
needs textures
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 7004d23..6fd5934 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -3870,6 +3870,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
3870 | 3870 | ||
3871 | m_attachments.Add(gobj); | 3871 | m_attachments.Add(gobj); |
3872 | } | 3872 | } |
3873 | |||
3874 | IBakedTextureModule bakedModule = m_scene.RequestModuleInterface<IBakedTextureModule>(); | ||
3875 | if (bakedModule != null) | ||
3876 | bakedModule.UpdateMeshAvatar(m_uuid); | ||
3873 | } | 3877 | } |
3874 | 3878 | ||
3875 | /// <summary> | 3879 | /// <summary> |