aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-30 23:05:43 +0100
committerJustin Clark-Casey (justincc)2011-08-30 23:06:10 +0100
commit04bafd21221a789b83b039efd1c52e141944cde0 (patch)
tree7c889db25e5c4ba059f5a03bfaacf95f95966b70 /OpenSim/Region/OptionalModules/World
parentadd Name property to ISceneEntity (diff)
downloadopensim-SC_OLD-04bafd21221a789b83b039efd1c52e141944cde0.zip
opensim-SC_OLD-04bafd21221a789b83b039efd1c52e141944cde0.tar.gz
opensim-SC_OLD-04bafd21221a789b83b039efd1c52e141944cde0.tar.bz2
opensim-SC_OLD-04bafd21221a789b83b039efd1c52e141944cde0.tar.xz
refactor: Move ScenePresence.RezAttachments() into AttachmentsModule
This adds an incomplete IScenePresence to match ISceneEntity
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
index c1da803..79c79e4 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
@@ -155,7 +155,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
155 155
156 AvatarAppearance npcAppearance = new AvatarAppearance(appearance, true); 156 AvatarAppearance npcAppearance = new AvatarAppearance(appearance, true);
157 sp.Appearance = npcAppearance; 157 sp.Appearance = npcAppearance;
158 sp.RezAttachments(); 158 scene.AttachmentsModule.RezAttachments(sp);
159 159
160 IAvatarFactory module = scene.RequestModuleInterface<IAvatarFactory>(); 160 IAvatarFactory module = scene.RequestModuleInterface<IAvatarFactory>();
161 module.SendAppearance(sp.UUID); 161 module.SendAppearance(sp.UUID);