mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
When an NPC appearance is loaded, rez the attachments too
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user