diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/SceneObjectResizeTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectResizeTests.cs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectResizeTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectResizeTests.cs index 975c4d9..8b3a7e9 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectResizeTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectResizeTests.cs | |||
@@ -60,6 +60,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
60 | Assert.That(g1Post.RootPart.Scale.X, Is.EqualTo(2)); | 60 | Assert.That(g1Post.RootPart.Scale.X, Is.EqualTo(2)); |
61 | Assert.That(g1Post.RootPart.Scale.Y, Is.EqualTo(3)); | 61 | Assert.That(g1Post.RootPart.Scale.Y, Is.EqualTo(3)); |
62 | Assert.That(g1Post.RootPart.Scale.Z, Is.EqualTo(4)); | 62 | Assert.That(g1Post.RootPart.Scale.Z, Is.EqualTo(4)); |
63 | |||
64 | // Assert.That(g1Post.RootPart.UndoCount, Is.EqualTo(1)); | ||
63 | } | 65 | } |
64 | 66 | ||
65 | /// <summary> | 67 | /// <summary> |
@@ -72,8 +74,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
72 | //log4net.Config.XmlConfigurator.Configure(); | 74 | //log4net.Config.XmlConfigurator.Configure(); |
73 | 75 | ||
74 | Scene scene = new SceneHelpers().SetupScene(); | 76 | Scene scene = new SceneHelpers().SetupScene(); |
75 | 77 | UUID owner = UUID.Random(); | |
76 | SceneObjectGroup g1 = SceneHelpers.CreateSceneObject(2, UUID.Zero); | 78 | SceneObjectGroup g1 = SceneHelpers.CreateSceneObject(2, owner); |
77 | g1.RootPart.Scale = new Vector3(2, 3, 4); | 79 | g1.RootPart.Scale = new Vector3(2, 3, 4); |
78 | g1.Parts[1].Scale = new Vector3(5, 6, 7); | 80 | g1.Parts[1].Scale = new Vector3(5, 6, 7); |
79 | 81 | ||