diff options
author | Justin Clark-Casey (justincc) | 2010-05-21 21:22:53 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-05-21 21:22:53 +0100 |
commit | f83acf533b708d7963c5dd1238709898a969c96c (patch) | |
tree | 786866e872188939ba5b50a3bf253209aaf9d20b /OpenSim/Region/CoreModules | |
parent | make oar object filename/pathname creation a helper method (diff) | |
download | opensim-SC-f83acf533b708d7963c5dd1238709898a969c96c.zip opensim-SC-f83acf533b708d7963c5dd1238709898a969c96c.tar.gz opensim-SC-f83acf533b708d7963c5dd1238709898a969c96c.tar.bz2 opensim-SC-f83acf533b708d7963c5dd1238709898a969c96c.tar.xz |
Fix a problem where SceneGraph.AddSceneObject() would return false on successfully adding an object rather than true, in defiance of its method documentation
This meant that the returns were inconsistent - false would be returned both for various scene object failure conditions (e.g. root part was null) and if the object was successfully added.
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs index 8d62fe1..f97ae5f 100644 --- a/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs +++ b/OpenSim/Region/CoreModules/World/Archiver/ArchiveReadRequest.cs | |||
@@ -243,7 +243,6 @@ namespace OpenSim.Region.CoreModules.World.Archiver | |||
243 | // to the same scene (when this is possible). | 243 | // to the same scene (when this is possible). |
244 | sceneObject.ResetIDs(); | 244 | sceneObject.ResetIDs(); |
245 | 245 | ||
246 | |||
247 | foreach (SceneObjectPart part in sceneObject.Children.Values) | 246 | foreach (SceneObjectPart part in sceneObject.Children.Values) |
248 | { | 247 | { |
249 | if (!ResolveUserUuid(part.CreatorID)) | 248 | if (!ResolveUserUuid(part.CreatorID)) |