diff options
author | Melanie Thielker | 2014-11-10 04:46:51 +0100 |
---|---|---|
committer | Melanie Thielker | 2014-11-10 04:46:51 +0100 |
commit | 6d2e924f248941e34919b62fe383415d7e255370 (patch) | |
tree | a96a07104bc269d4299ce8f4bec27176f8baba7e | |
parent | try to preserve permitions on object returns (diff) | |
download | opensim-SC-6d2e924f248941e34919b62fe383415d7e255370.zip opensim-SC-6d2e924f248941e34919b62fe383415d7e255370.tar.gz opensim-SC-6d2e924f248941e34919b62fe383415d7e255370.tar.bz2 opensim-SC-6d2e924f248941e34919b62fe383415d7e255370.tar.xz |
Call the bake module each time we see a new attachment to see if the attachment
needs textures
-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 3b64088..7086b52 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -4583,6 +4583,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
4583 | 4583 | ||
4584 | m_attachments.Add(gobj); | 4584 | m_attachments.Add(gobj); |
4585 | } | 4585 | } |
4586 | |||
4587 | IBakedTextureModule bakedModule = m_scene.RequestModuleInterface<IBakedTextureModule>(); | ||
4588 | if (bakedModule != null) | ||
4589 | bakedModule.UpdateMeshAvatar(m_uuid); | ||
4586 | } | 4590 | } |
4587 | 4591 | ||
4588 | /// <summary> | 4592 | /// <summary> |