diff options
Diffstat (limited to 'OpenSim/Data/Tests')
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index 12435c9..ab46ed4 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -315,8 +315,7 @@ namespace OpenSim.Data.Tests | |||
315 | sop.ObjectFlags = 0; | 315 | sop.ObjectFlags = 0; |
316 | 316 | ||
317 | SceneObjectGroup sog = new SceneObjectGroup(); | 317 | SceneObjectGroup sog = new SceneObjectGroup(); |
318 | sog.AddPart(sop); | 318 | sog.SetRootPart(sop); |
319 | sog.RootPart = sop; | ||
320 | 319 | ||
321 | // Inserts group in DB | 320 | // Inserts group in DB |
322 | db.StoreObject(sog,region3); | 321 | db.StoreObject(sog,region3); |
@@ -795,8 +794,7 @@ namespace OpenSim.Data.Tests | |||
795 | sop.Shape = PrimitiveBaseShape.Default; | 794 | sop.Shape = PrimitiveBaseShape.Default; |
796 | 795 | ||
797 | SceneObjectGroup sog = new SceneObjectGroup(); | 796 | SceneObjectGroup sog = new SceneObjectGroup(); |
798 | sog.AddPart(sop); | 797 | sog.SetRootPart(sop); |
799 | sog.RootPart = sop; | ||
800 | return sog; | 798 | return sog; |
801 | } | 799 | } |
802 | 800 | ||