aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/AssetBase.cs
diff options
context:
space:
mode:
authorMike Mazur2009-03-13 05:58:32 +0000
committerMike Mazur2009-03-13 05:58:32 +0000
commit4a21d926684f013aaaa1c349d3d1c11f3d614381 (patch)
tree47d74d29d5e11ffa5e7337071d129b8388ea6ffe /OpenSim/Framework/AssetBase.cs
parent* Don't fail the client login if there are no OnClientConnect listeners (diff)
downloadopensim-SC_OLD-4a21d926684f013aaaa1c349d3d1c11f3d614381.zip
opensim-SC_OLD-4a21d926684f013aaaa1c349d3d1c11f3d614381.tar.gz
opensim-SC_OLD-4a21d926684f013aaaa1c349d3d1c11f3d614381.tar.bz2
opensim-SC_OLD-4a21d926684f013aaaa1c349d3d1c11f3d614381.tar.xz
Mark AssetBase.Metadata with [XmlIgnore]
Diffstat (limited to 'OpenSim/Framework/AssetBase.cs')
-rw-r--r--OpenSim/Framework/AssetBase.cs14
1 files changed, 5 insertions, 9 deletions
diff --git a/OpenSim/Framework/AssetBase.cs b/OpenSim/Framework/AssetBase.cs
index f3dd70a..5c311c0 100644
--- a/OpenSim/Framework/AssetBase.cs
+++ b/OpenSim/Framework/AssetBase.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.Xml.Serialization;
29using OpenMetaverse; 30using OpenMetaverse;
30 31
31namespace OpenSim.Framework 32namespace OpenSim.Framework
@@ -96,16 +97,11 @@ namespace OpenSim.Framework
96 set { m_metadata.Temporary = value; } 97 set { m_metadata.Temporary = value; }
97 } 98 }
98 99
99 // We have methods here because properties are serialized, and we don't 100 [XmlIgnore]
100 // want that. 101 public AssetMetadata Metadata
101 public virtual AssetMetadata getMetadata()
102 { 102 {
103 return m_metadata; 103 get { return m_metadata; }
104 } 104 set { m_metadata = value; }
105
106 public virtual void setMetadata(AssetMetadata metadata)
107 {
108 m_metadata = metadata;
109 } 105 }
110 } 106 }
111 107