aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-09 23:25:52 +0100
committerJustin Clark-Casey (justincc)2011-08-09 23:25:52 +0100
commitcba54090c759d1b21701179493f8399eb1b7a60f (patch)
tree74835e6810ecc88b87c026a7feb147276a8dc1e0 /OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
parentWhen an NPC is created, stop telling neighbouring regions to expect a child a... (diff)
downloadopensim-SC_OLD-cba54090c759d1b21701179493f8399eb1b7a60f.zip
opensim-SC_OLD-cba54090c759d1b21701179493f8399eb1b7a60f.tar.gz
opensim-SC_OLD-cba54090c759d1b21701179493f8399eb1b7a60f.tar.bz2
opensim-SC_OLD-cba54090c759d1b21701179493f8399eb1b7a60f.tar.xz
When an NPC appearance is loaded, rez the attachments too
Diffstat (limited to 'OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs')
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
index 88867f2..068eec8 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs
@@ -159,6 +159,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
159 159
160 AvatarAppearance npcAppearance = new AvatarAppearance(appearance, true); 160 AvatarAppearance npcAppearance = new AvatarAppearance(appearance, true);
161 sp.Appearance = npcAppearance; 161 sp.Appearance = npcAppearance;
162 sp.RezAttachments();
162 163
163 IAvatarFactory module = scene.RequestModuleInterface<IAvatarFactory>(); 164 IAvatarFactory module = scene.RequestModuleInterface<IAvatarFactory>();
164 module.SendAppearance(sp.UUID); 165 module.SendAppearance(sp.UUID);