Call the bake module each time we see a new attachment to see if the attachment

needs textures
avinationmerge
Melanie Thielker 2014-11-10 04:46:51 +01:00
parent 27b70c3fce
commit 9be30aa9b7
1 changed files with 4 additions and 0 deletions

View File

@ -3870,6 +3870,10 @@ namespace OpenSim.Region.Framework.Scenes
m_attachments.Add(gobj);
}
IBakedTextureModule bakedModule = m_scene.RequestModuleInterface<IBakedTextureModule>();
if (bakedModule != null)
bakedModule.UpdateMeshAvatar(m_uuid);
}
/// <summary>