refactor: Move ScenePresence.RezAttachments() into AttachmentsModule

This adds an incomplete IScenePresence to match ISceneEntity
This commit is contained in:
Justin Clark-Casey (justincc)
2011-08-30 23:05:43 +01:00
parent a90e1cf3aa
commit 04bafd2122
6 changed files with 103 additions and 47 deletions

View File

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