When an NPC appearance is loaded, rez the attachments too

bulletsim
Justin Clark-Casey (justincc) 2011-08-09 23:25:52 +01:00
parent 92e96d394a
commit cba54090c7
1 changed files with 1 additions and 0 deletions

View File

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