diff options
author | Melanie | 2013-01-10 01:25:07 +0000 |
---|---|---|
committer | Melanie | 2013-01-10 01:25:07 +0000 |
commit | aecb32b74efa5b74adcfc026f7261f43ad5934f4 (patch) | |
tree | 8c775eca7460a5c5c2bc08e25d2334897e693673 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |
parent | Merge branch 'avination' into careminster (diff) | |
parent | Change IsRoot to use ReferenceEquals to prevent operator == messiness (diff) | |
download | opensim-SC-aecb32b74efa5b74adcfc026f7261f43ad5934f4.zip opensim-SC-aecb32b74efa5b74adcfc026f7261f43ad5934f4.tar.gz opensim-SC-aecb32b74efa5b74adcfc026f7261f43ad5934f4.tar.bz2 opensim-SC-aecb32b74efa5b74adcfc026f7261f43ad5934f4.tar.xz |
Merge branch 'avination' into careminster
Conflicts:
OpenSim/Region/Framework/Scenes/ScenePresence.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index e68793a..2a0d2ea 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -144,7 +144,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
144 | /// </remarks> | 144 | /// </remarks> |
145 | public bool IsRoot | 145 | public bool IsRoot |
146 | { | 146 | { |
147 | get { return ParentGroup.RootPart == this; } | 147 | get { return Object.ReferenceEquals(ParentGroup.RootPart, this); } |
148 | } | 148 | } |
149 | 149 | ||
150 | /// <summary> | 150 | /// <summary> |