fix tests acording
parent
1c1d40cf6a
commit
544b859c00
|
@ -107,7 +107,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
m_so1.ScriptSetVolumeDetect(true);
|
m_so1.ScriptSetVolumeDetect(true);
|
||||||
|
|
||||||
// Console.WriteLine("so.RootPart.Flags [{0}]", so.RootPart.Flags);
|
// Console.WriteLine("so.RootPart.Flags [{0}]", so.RootPart.Flags);
|
||||||
Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.Phantom));
|
// PrimFlags.JointLP2P is incorrect it now means VolumeDetect (as defined by viewers)
|
||||||
|
Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.Phantom | PrimFlags.JointLP2P));
|
||||||
|
|
||||||
m_so1.ScriptSetVolumeDetect(false);
|
m_so1.ScriptSetVolumeDetect(false);
|
||||||
|
|
||||||
|
@ -146,7 +147,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||||
m_so1.ScriptSetPhysicsStatus(true);
|
m_so1.ScriptSetPhysicsStatus(true);
|
||||||
m_so1.ScriptSetVolumeDetect(true);
|
m_so1.ScriptSetVolumeDetect(true);
|
||||||
|
|
||||||
Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.Phantom | PrimFlags.Physics));
|
// PrimFlags.JointLP2P is incorrect it now means VolumeDetect (as defined by viewers)
|
||||||
|
Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.Phantom | PrimFlags.Physics | PrimFlags.JointLP2P));
|
||||||
|
|
||||||
m_so1.ScriptSetVolumeDetect(false);
|
m_so1.ScriptSetVolumeDetect(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue