diff options
author | Justin Clark-Casey (justincc) | 2011-08-06 00:13:08 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-08-06 00:13:08 +0100 |
commit | c6c91e6599de6d4402ec0258da03cc975147da90 (patch) | |
tree | a42303f745eff34a65f3a33f94d098209c74b923 /OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | |
parent | Add regression test for setting phantom status on a scene object. This is no... (diff) | |
download | opensim-SC_OLD-c6c91e6599de6d4402ec0258da03cc975147da90.zip opensim-SC_OLD-c6c91e6599de6d4402ec0258da03cc975147da90.tar.gz opensim-SC_OLD-c6c91e6599de6d4402ec0258da03cc975147da90.tar.bz2 opensim-SC_OLD-c6c91e6599de6d4402ec0258da03cc975147da90.tar.xz |
refactor: Fold most SOP.ScriptSet* methods back into script code. Simplify.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs index a26fe33..641c34e 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | |||
@@ -53,9 +53,9 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
53 | SceneObjectPart rootPart = so.RootPart; | 53 | SceneObjectPart rootPart = so.RootPart; |
54 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.None)); | 54 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.None)); |
55 | 55 | ||
56 | so.RootPart.ScriptSetPhantomStatus(true); | 56 | so.ScriptSetPhantomStatus(true); |
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 | } | 60 | } |
61 | } | 61 | } |