diff options
author | Justin Clark-Casey (justincc) | 2012-07-07 00:02:45 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-07 00:02:45 +0100 |
commit | 7ff4eec79cf16886439604a23126abd195ae8b2e (patch) | |
tree | f59be673321e6a74dc429e52e585ef165a8a845d /OpenSim/Data/Tests/RegionTests.cs | |
parent | Remove now duplicate interregion object check that should have been removed a... (diff) | |
download | opensim-SC-7ff4eec79cf16886439604a23126abd195ae8b2e.zip opensim-SC-7ff4eec79cf16886439604a23126abd195ae8b2e.tar.gz opensim-SC-7ff4eec79cf16886439604a23126abd195ae8b2e.tar.bz2 opensim-SC-7ff4eec79cf16886439604a23126abd195ae8b2e.tar.xz |
Remove redundant SetScene() function in Scene.AddSceneObject()
This is always done later on in SceneGraph.AddSceneObject() if the call hasn't failed due to sanity checks.
There's no other purpose for this method to exist and it's dangerous/pointless to call in other conditions.
Diffstat (limited to 'OpenSim/Data/Tests/RegionTests.cs')
-rw-r--r-- | OpenSim/Data/Tests/RegionTests.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Data/Tests/RegionTests.cs b/OpenSim/Data/Tests/RegionTests.cs index 474609b..55b9b4d 100644 --- a/OpenSim/Data/Tests/RegionTests.cs +++ b/OpenSim/Data/Tests/RegionTests.cs | |||
@@ -1081,7 +1081,7 @@ namespace OpenSim.Data.Tests | |||
1081 | sop.Shape = PrimitiveBaseShape.Default; | 1081 | sop.Shape = PrimitiveBaseShape.Default; |
1082 | 1082 | ||
1083 | SceneObjectGroup sog = new SceneObjectGroup(sop); | 1083 | SceneObjectGroup sog = new SceneObjectGroup(sop); |
1084 | sog.SetScene(scene); | 1084 | // sog.SetScene(scene); |
1085 | 1085 | ||
1086 | return sog; | 1086 | return sog; |
1087 | } | 1087 | } |