aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Interfaces
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-08-30 01:58:32 +0100
committerJustin Clark-Casey (justincc)2011-08-30 01:58:32 +0100
commitbe357f8feeb438e3292292d163918a307d69c69a (patch)
treef1f45b0a5bb58262885065b7a3fa37dde0d3d03e /OpenSim/Region/Framework/Interfaces
parentMove GetMeshKey from buried inside Meshmerizer to a public method on Primitiv... (diff)
downloadopensim-SC_OLD-be357f8feeb438e3292292d163918a307d69c69a.zip
opensim-SC_OLD-be357f8feeb438e3292292d163918a307d69c69a.tar.gz
opensim-SC_OLD-be357f8feeb438e3292292d163918a307d69c69a.tar.bz2
opensim-SC_OLD-be357f8feeb438e3292292d163918a307d69c69a.tar.xz
Fix bug in persisting saved appearances for npcs
Assets have to be marked non-local as well as non-temporary to persist. This is now done. Hopefully addresses http://opensimulator.org/mantis/view.php?id=5660
Diffstat (limited to 'OpenSim/Region/Framework/Interfaces')
-rw-r--r--OpenSim/Region/Framework/Interfaces/IAvatarFactory.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Interfaces/IAvatarFactory.cs b/OpenSim/Region/Framework/Interfaces/IAvatarFactory.cs
index 6817725..4dbddf4 100644
--- a/OpenSim/Region/Framework/Interfaces/IAvatarFactory.cs
+++ b/OpenSim/Region/Framework/Interfaces/IAvatarFactory.cs
@@ -25,6 +25,7 @@
25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 */ 26 */
27 27
28using System.Collections.Generic;
28using OpenMetaverse; 29using OpenMetaverse;
29using OpenSim.Framework; 30using OpenSim.Framework;
30 31
@@ -39,7 +40,23 @@ namespace OpenSim.Region.Framework.Interfaces
39 /// <returns></returns> 40 /// <returns></returns>
40 bool SendAppearance(UUID agentId); 41 bool SendAppearance(UUID agentId);
41 42
43 /// <summary>
44 /// Return the baked texture ids of the given agent.
45 /// </summary>
46 /// <param name="agentId"></param>
47 /// <returns>An empty list if this agent has no baked textures (e.g. because it's a child agent)</returns>
48 Dictionary<BakeType, Primitive.TextureEntryFace> GetBakedTextureFaces(UUID agentId);
49
50 /// <summary>
51 /// Save the baked textures for the given agent permanently in the asset database.
52 /// </summary>
53 /// <remarks>
54 /// This is used to preserve apperance textures for NPCs
55 /// </remarks>
56 /// <param name="agentId"></param>
57 /// <returns>true if a valid agent was found, false otherwise</returns>
42 bool SaveBakedTextures(UUID agentId); 58 bool SaveBakedTextures(UUID agentId);
59
43 bool ValidateBakedTextureCache(IClientAPI client); 60 bool ValidateBakedTextureCache(IClientAPI client);
44 void QueueAppearanceSend(UUID agentid); 61 void QueueAppearanceSend(UUID agentid);
45 void QueueAppearanceSave(UUID agentid); 62 void QueueAppearanceSave(UUID agentid);