diff options
author | John Hurliman | 2009-09-16 15:06:08 -0700 |
---|---|---|
committer | John Hurliman | 2009-09-16 15:06:08 -0700 |
commit | f42d085ab17098709bcba0c816c9742a213d3c01 (patch) | |
tree | cdf3af0cf5e65ad949f07afc80d28a29954bfa42 /OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | |
parent | Add the Null storage implementation for the RegionData service. Standalones (diff) | |
download | opensim-SC-f42d085ab17098709bcba0c816c9742a213d3c01.zip opensim-SC-f42d085ab17098709bcba0c816c9742a213d3c01.tar.gz opensim-SC-f42d085ab17098709bcba0c816c9742a213d3c01.tar.bz2 opensim-SC-f42d085ab17098709bcba0c816c9742a213d3c01.tar.xz |
SceneObjectGroup cleanup. Removes the default constructor and unnecessary null checks on m_rootPart
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs index 7fb2d25..19c0fea 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/ScenePresenceTests.cs | |||
@@ -407,9 +407,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
407 | sop.Shape.State = 1; | 407 | sop.Shape.State = 1; |
408 | sop.OwnerID = agent; | 408 | sop.OwnerID = agent; |
409 | 409 | ||
410 | SceneObjectGroup sog = new SceneObjectGroup(); | 410 | SceneObjectGroup sog = new SceneObjectGroup(sop); |
411 | sog.SetScene(scene); | 411 | sog.SetScene(scene); |
412 | sog.SetRootPart(sop); | ||
413 | 412 | ||
414 | return sog; | 413 | return sog; |
415 | } | 414 | } |