The only purpose of this commit is to remove an erroneous comment. It turns out that rezzing the attachments is necessary in modern viewers too. Proof: commenting the lines below the comment results in no attachments seen in the avatar.

fsassets
Diva Canto 2015-06-05 09:47:36 -07:00
parent 52d9ea1cee
commit cc22d81b4d
1 changed files with 2 additions and 4 deletions

View File

@ -1224,11 +1224,9 @@ namespace OpenSim.Region.Framework.Scenes
// haven't started yet. // haven't started yet.
if (PresenceType == PresenceType.Npc || IsRealLogin(m_teleportFlags)) if (PresenceType == PresenceType.Npc || IsRealLogin(m_teleportFlags))
{ {
// Viewers which have a current outfit folder will actually rez their own attachments. However,
// viewers without (e.g. v1 viewers) will not, so we still need to make this call.
WorkManager.RunJob( WorkManager.RunJob(
"RezAttachments", "RezAttachments",
o => Scene.AttachmentsModule.RezAttachments(this), o => Scene.AttachmentsModule.RezAttachments(this),
null, null,
string.Format("Rez attachments for {0} in {1}", Name, Scene.Name)); string.Format("Rez attachments for {0} in {1}", Name, Scene.Name));
} }