diff options
author | UbitUmarov | 2016-08-16 05:20:46 +0100 |
---|---|---|
committer | UbitUmarov | 2016-08-16 05:20:46 +0100 |
commit | 544b859c007c6062cf2a962d7180b27be5ad05ec (patch) | |
tree | b14f1d7441079a07e27c8c4642f676939deb167a /OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | |
parent | libOMV PrimFlags.JointLP2P does not exist. Its bit now means (diff) | |
download | opensim-SC_OLD-544b859c007c6062cf2a962d7180b27be5ad05ec.zip opensim-SC_OLD-544b859c007c6062cf2a962d7180b27be5ad05ec.tar.gz opensim-SC_OLD-544b859c007c6062cf2a962d7180b27be5ad05ec.tar.bz2 opensim-SC_OLD-544b859c007c6062cf2a962d7180b27be5ad05ec.tar.xz |
fix tests acording
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs index 1737e3c..e98e631 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | |||
@@ -107,7 +107,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
107 | m_so1.ScriptSetVolumeDetect(true); | 107 | m_so1.ScriptSetVolumeDetect(true); |
108 | 108 | ||
109 | // Console.WriteLine("so.RootPart.Flags [{0}]", so.RootPart.Flags); | 109 | // Console.WriteLine("so.RootPart.Flags [{0}]", so.RootPart.Flags); |
110 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.Phantom)); | 110 | // PrimFlags.JointLP2P is incorrect it now means VolumeDetect (as defined by viewers) |
111 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.Phantom | PrimFlags.JointLP2P)); | ||
111 | 112 | ||
112 | m_so1.ScriptSetVolumeDetect(false); | 113 | m_so1.ScriptSetVolumeDetect(false); |
113 | 114 | ||
@@ -146,7 +147,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
146 | m_so1.ScriptSetPhysicsStatus(true); | 147 | m_so1.ScriptSetPhysicsStatus(true); |
147 | m_so1.ScriptSetVolumeDetect(true); | 148 | m_so1.ScriptSetVolumeDetect(true); |
148 | 149 | ||
149 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.Phantom | PrimFlags.Physics)); | 150 | // PrimFlags.JointLP2P is incorrect it now means VolumeDetect (as defined by viewers) |
151 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.Phantom | PrimFlags.Physics | PrimFlags.JointLP2P)); | ||
150 | 152 | ||
151 | m_so1.ScriptSetVolumeDetect(false); | 153 | m_so1.ScriptSetVolumeDetect(false); |
152 | 154 | ||