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 c5dcc0d8c1
commit 6d2e924f24
1 changed files with 4 additions and 0 deletions

View File

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