diff options
author | Justin Clark-Casey (justincc) | 2011-08-01 23:41:29 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-01 23:41:29 +0100 |
commit | 59f548cda82facef003fb7309180412254a234a1 (patch) | |
tree | ee736eca64d23b35dbd3aa0e18f1b2311804ff43 /OpenSim/Region/CoreModules/Avatar | |
parent | Move common gemo/agent map name code into CreateGeom() (diff) | |
download | opensim-SC-59f548cda82facef003fb7309180412254a234a1.zip opensim-SC-59f548cda82facef003fb7309180412254a234a1.tar.gz opensim-SC-59f548cda82facef003fb7309180412254a234a1.tar.bz2 opensim-SC-59f548cda82facef003fb7309180412254a234a1.tar.xz |
Get osNpcCreate appearance working with avatars that are currently in the scene.
Had to stop using AvatarService for now since it doesn't store baked texture IDs (which is why this was failing).
Also failing because cloning appearance was also cloning the AvatarApperance.Owner field, which we weren't then changing.
Extended TestCreate() to check this.
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs index 20dff0c..e3e3452 100644 --- a/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/AvatarFactory/AvatarFactoryModule.cs | |||
@@ -151,6 +151,10 @@ namespace OpenSim.Region.CoreModules.Avatar.AvatarFactory | |||
151 | if (face == null) | 151 | if (face == null) |
152 | continue; | 152 | continue; |
153 | 153 | ||
154 | // m_log.DebugFormat( | ||
155 | // "[AVFACTORY]: Looking for texture {0}, id {1} for {2} {3}", | ||
156 | // face.TextureID, idx, client.Name, client.AgentId); | ||
157 | |||
154 | // if the texture is one of the "defaults" then skip it | 158 | // if the texture is one of the "defaults" then skip it |
155 | // this should probably be more intelligent (skirt texture doesnt matter | 159 | // this should probably be more intelligent (skirt texture doesnt matter |
156 | // if the avatar isnt wearing a skirt) but if any of the main baked | 160 | // if the avatar isnt wearing a skirt) but if any of the main baked |