mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
fix tests acording
This commit is contained in:
@@ -107,7 +107,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
m_so1.ScriptSetVolumeDetect(true);
|
||||
|
||||
// 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);
|
||||
|
||||
@@ -146,7 +147,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
|
||||
m_so1.ScriptSetPhysicsStatus(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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user