When an NPC appearance is loaded, rez the attachments too
parent
92e96d394a
commit
cba54090c7
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue