diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Tests/SceneObjectUndoRedoTests.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectUndoRedoTests.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUndoRedoTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUndoRedoTests.cs index 133fac5..96973de 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUndoRedoTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectUndoRedoTests.cs | |||
@@ -52,6 +52,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
52 | Vector3 secondSize = new Vector3(5, 6, 7); | 52 | Vector3 secondSize = new Vector3(5, 6, 7); |
53 | 53 | ||
54 | Scene scene = new SceneHelpers().SetupScene(); | 54 | Scene scene = new SceneHelpers().SetupScene(); |
55 | scene.MaxUndoCount = 20; | ||
55 | SceneObjectGroup g1 = SceneHelpers.AddSceneObject(scene); | 56 | SceneObjectGroup g1 = SceneHelpers.AddSceneObject(scene); |
56 | 57 | ||
57 | // TODO: It happens to be the case that we are not storing undo states for SOPs which are not yet in a SOG, | 58 | // TODO: It happens to be the case that we are not storing undo states for SOPs which are not yet in a SOG, |
@@ -113,6 +114,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
113 | Vector3 fourthSize = new Vector3(11, 12, 13); | 114 | Vector3 fourthSize = new Vector3(11, 12, 13); |
114 | 115 | ||
115 | Scene scene = new SceneHelpers().SetupScene(); | 116 | Scene scene = new SceneHelpers().SetupScene(); |
117 | scene.MaxUndoCount = 20; | ||
116 | SceneObjectGroup g1 = SceneHelpers.CreateSceneObject(1, TestHelpers.ParseTail(0x1)); | 118 | SceneObjectGroup g1 = SceneHelpers.CreateSceneObject(1, TestHelpers.ParseTail(0x1)); |
117 | 119 | ||
118 | g1.GroupResize(firstSize); | 120 | g1.GroupResize(firstSize); |
@@ -133,6 +135,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
133 | Vector3 newSize = new Vector3(2, 3, 4); | 135 | Vector3 newSize = new Vector3(2, 3, 4); |
134 | 136 | ||
135 | Scene scene = new SceneHelpers().SetupScene(); | 137 | Scene scene = new SceneHelpers().SetupScene(); |
138 | scene.MaxUndoCount = 20; | ||
136 | SceneObjectGroup g1 = SceneHelpers.AddSceneObject(scene); | 139 | SceneObjectGroup g1 = SceneHelpers.AddSceneObject(scene); |
137 | Vector3 originalSize = g1.GroupScale; | 140 | Vector3 originalSize = g1.GroupScale; |
138 | 141 | ||
@@ -160,6 +163,7 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
160 | Vector3 newSize = new Vector3(2, 3, 4); | 163 | Vector3 newSize = new Vector3(2, 3, 4); |
161 | 164 | ||
162 | Scene scene = new SceneHelpers().SetupScene(); | 165 | Scene scene = new SceneHelpers().SetupScene(); |
166 | scene.MaxUndoCount = 20; | ||
163 | SceneObjectGroup g1 = SceneHelpers.AddSceneObject(scene); | 167 | SceneObjectGroup g1 = SceneHelpers.AddSceneObject(scene); |
164 | Vector3 originalSize = g1.GroupScale; | 168 | Vector3 originalSize = g1.GroupScale; |
165 | 169 | ||