diff options
author | Justin Clark-Casey (justincc) | 2012-04-22 20:03:34 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-22 20:03:34 +0100 |
commit | 58c890df5d82cef6e5d648b6e3a299b058b309dc (patch) | |
tree | 2a83c76343d40c84bc40929942f5750c6ada8ddd /OpenSim/Region | |
parent | Fix bug where setting phantom on a prim would result in a server log message ... (diff) | |
download | opensim-SC-58c890df5d82cef6e5d648b6e3a299b058b309dc.zip opensim-SC-58c890df5d82cef6e5d648b6e3a299b058b309dc.tar.gz opensim-SC-58c890df5d82cef6e5d648b6e3a299b058b309dc.tar.bz2 opensim-SC-58c890df5d82cef6e5d648b6e3a299b058b309dc.tar.xz |
Make TestSetPhysicsSinglePrim() actually add the object to the scene in order to test more code paths.
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs index 51751ef..360566d 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectStatusTests.cs | |||
@@ -82,6 +82,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
82 | { | 82 | { |
83 | TestHelpers.InMethod(); | 83 | TestHelpers.InMethod(); |
84 | 84 | ||
85 | m_scene.AddSceneObject(m_so1); | ||
86 | |||
85 | SceneObjectPart rootPart = m_so1.RootPart; | 87 | SceneObjectPart rootPart = m_so1.RootPart; |
86 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.None)); | 88 | Assert.That(rootPart.Flags, Is.EqualTo(PrimFlags.None)); |
87 | 89 | ||