When an NPC appearance is loaded, rez the attachments too

This commit is contained in:
Justin Clark-Casey (justincc)
2011-08-09 23:25:52 +01:00
parent 92e96d394a
commit cba54090c7

View File

@@ -159,6 +159,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
AvatarAppearance npcAppearance = new AvatarAppearance(appearance, true);
sp.Appearance = npcAppearance;
sp.RezAttachments();
IAvatarFactory module = scene.RequestModuleInterface<IAvatarFactory>();
module.SendAppearance(sp.UUID);