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/Framework/AvatarAppearance.cs | |
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 '')
-rw-r--r-- | OpenSim/Framework/AvatarAppearance.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Framework/AvatarAppearance.cs b/OpenSim/Framework/AvatarAppearance.cs index 716baab..6b1f58a 100644 --- a/OpenSim/Framework/AvatarAppearance.cs +++ b/OpenSim/Framework/AvatarAppearance.cs | |||
@@ -77,7 +77,11 @@ namespace OpenSim.Framework | |||
77 | public virtual Primitive.TextureEntry Texture | 77 | public virtual Primitive.TextureEntry Texture |
78 | { | 78 | { |
79 | get { return m_texture; } | 79 | get { return m_texture; } |
80 | set { m_texture = value; } | 80 | set |
81 | { | ||
82 | // m_log.DebugFormat("[AVATAR APPEARANCE]: Set TextureEntry to {0}", value); | ||
83 | m_texture = value; | ||
84 | } | ||
81 | } | 85 | } |
82 | 86 | ||
83 | public virtual AvatarWearable[] Wearables | 87 | public virtual AvatarWearable[] Wearables |