From 9be30aa9b781124bd110b4f9046ae0de08f0c146 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Mon, 10 Nov 2014 04:46:51 +0100 Subject: Call the bake module each time we see a new attachment to see if the attachment needs textures --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 ++++ 1 file changed, 4 insertions(+) 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 m_attachments.Add(gobj); } + + IBakedTextureModule bakedModule = m_scene.RequestModuleInterface(); + if (bakedModule != null) + bakedModule.UpdateMeshAvatar(m_uuid); } /// -- cgit v1.1