diff options
author | Kitto Flora | 2010-02-08 14:29:06 -0500 |
---|---|---|
committer | Kitto Flora | 2010-02-08 14:29:06 -0500 |
commit | 59851ceee6a52e8ad3a1da973dd07257422a16fc (patch) | |
tree | 42be9abb3090014bba1cbb0ddb4d1f617c0cc358 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Motor angular decay fix. (diff) | |
parent | Fix two inconsistencies with LightShare (diff) | |
download | opensim-SC-59851ceee6a52e8ad3a1da973dd07257422a16fc.zip opensim-SC-59851ceee6a52e8ad3a1da973dd07257422a16fc.tar.gz opensim-SC-59851ceee6a52e8ad3a1da973dd07257422a16fc.tar.bz2 opensim-SC-59851ceee6a52e8ad3a1da973dd07257422a16fc.tar.xz |
Merge branch 'master' of ssh://3dhosting.de/var/git/careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 9 |
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)); |