diff options
author | Justin Clark-Casey (justincc) | 2011-08-09 23:25:52 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-09 23:25:52 +0100 |
commit | cba54090c759d1b21701179493f8399eb1b7a60f (patch) | |
tree | 74835e6810ecc88b87c026a7feb147276a8dc1e0 /OpenSim/Region | |
parent | When an NPC is created, stop telling neighbouring regions to expect a child a... (diff) | |
download | opensim-SC-cba54090c759d1b21701179493f8399eb1b7a60f.zip opensim-SC-cba54090c759d1b21701179493f8399eb1b7a60f.tar.gz opensim-SC-cba54090c759d1b21701179493f8399eb1b7a60f.tar.bz2 opensim-SC-cba54090c759d1b21701179493f8399eb1b7a60f.tar.xz |
When an NPC appearance is loaded, rez the attachments too
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/OptionalModules/World/NPC/NPCModule.cs | 1 |
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); |