aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorMelanie2010-02-04 17:29:33 +0000
committerMelanie2010-02-04 17:29:33 +0000
commit776d62b9c610614053ccd30384624e61c7514edf (patch)
tree52426c20053987488cec78bd2a22a5639ba776f2 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentLine endings cleanup (diff)
parentRevert "change position of OnAttach event firing so that this also happens wh... (diff)
downloadopensim-SC_OLD-776d62b9c610614053ccd30384624e61c7514edf.zip
opensim-SC_OLD-776d62b9c610614053ccd30384624e61c7514edf.tar.gz
opensim-SC_OLD-776d62b9c610614053ccd30384624e61c7514edf.tar.bz2
opensim-SC_OLD-776d62b9c610614053ccd30384624e61c7514edf.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index fe1e218..72604d8 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -113,6 +113,15 @@ namespace OpenSim.Region.Framework.Scenes
113 113
114 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); 114 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
115 115
116 /// <value>
117 /// Is this sop a root part?
118 /// </value>
119 [XmlIgnore]
120 public bool IsRoot
121 {
122 get { return ParentGroup.RootPart == this; }
123 }
124
116 // use only one serializer to give the runtime a chance to optimize it (it won't do that if you 125 // use only one serializer to give the runtime a chance to optimize it (it won't do that if you
117 // use a new instance every time) 126 // use a new instance every time)
118 private static XmlSerializer serializer = new XmlSerializer(typeof (SceneObjectPart)); 127 private static XmlSerializer serializer = new XmlSerializer(typeof (SceneObjectPart));