aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicRegionTest.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-11-10 20:04:55 +0000
committerJustin Clarke Casey2008-11-10 20:04:55 +0000
commit0e180b0ad30d5f468be1c239865688449b8747cc (patch)
tree4d442315d268836641cb2b10e6937a0d308bdc18 /OpenSim/Data/Tests/BasicRegionTest.cs
parentRemoved some debug output I forgot to remove... (diff)
downloadopensim-SC-0e180b0ad30d5f468be1c239865688449b8747cc.zip
opensim-SC-0e180b0ad30d5f468be1c239865688449b8747cc.tar.gz
opensim-SC-0e180b0ad30d5f468be1c239865688449b8747cc.tar.bz2
opensim-SC-0e180b0ad30d5f468be1c239865688449b8747cc.tar.xz
* refactor: Expose SOG.SetRootPart for outsiders to use rather than setting RootPart and adding the part separately
* Make RootPart read only
Diffstat (limited to 'OpenSim/Data/Tests/BasicRegionTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicRegionTest.cs6
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