diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs b/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs index 4a038e2..de37eb4 100644 --- a/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs +++ b/OpenSim/Region/Environment/Scenes/Tests/SceneTests.cs | |||
@@ -78,10 +78,8 @@ namespace OpenSim.Region.Environment.Scenes.Tests | |||
78 | SceneObjectPart part | 78 | SceneObjectPart part |
79 | = new SceneObjectPart(UUID.Zero, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero); | 79 | = new SceneObjectPart(UUID.Zero, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero); |
80 | //part.UpdatePrimFlags(false, false, true); | 80 | //part.UpdatePrimFlags(false, false, true); |
81 | part.ObjectFlags |= (uint)PrimFlags.Phantom; | 81 | part.ObjectFlags |= (uint)PrimFlags.Phantom; |
82 | 82 | sceneObject.SetRootPart(part); | |
83 | sceneObject.RootPart = part; | ||
84 | sceneObject.AddPart(part); | ||
85 | 83 | ||
86 | scene.AddNewSceneObject(sceneObject, false); | 84 | scene.AddNewSceneObject(sceneObject, false); |
87 | 85 | ||