diff options
author | Justin Clark-Casey (justincc) | 2011-08-06 00:22:14 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-06 00:22:14 +0100 |
commit | cba40de109a0ab54a58324f105cbba799da70e39 (patch) | |
tree | 69c1c761c05dac7f7ca9f65ba96cd6d0d7b6f0f7 /OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | |
parent | refactor: Fold most SOP.ScriptSet* methods back into script code. Simplify. (diff) | |
download | opensim-SC-cba40de109a0ab54a58324f105cbba799da70e39.zip opensim-SC-cba40de109a0ab54a58324f105cbba799da70e39.tar.gz opensim-SC-cba40de109a0ab54a58324f105cbba799da70e39.tar.bz2 opensim-SC-cba40de109a0ab54a58324f105cbba799da70e39.tar.xz |
extend phantom flag regression test to toggle back off
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs index 641c34e..c0fca5d 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | |||
@@ -57,6 +57,10 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
57 | 57 | ||
58 | // Console.WriteLine("so.RootPart.Flags [{0}]", so.RootPart.Flags); | 58 | // Console.WriteLine("so.RootPart.Flags [{0}]", so.RootPart.Flags); |
59 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.Phantom)); | 59 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.Phantom)); |
60 | |||
61 | so.ScriptSetPhantomStatus(false); | ||
62 | |||
63 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.None)); | ||
60 | } | 64 | } |
61 | } | 65 | } |
62 | } \ No newline at end of file | 66 | } \ No newline at end of file |