diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/CoreModules/Framework/InventoryAccess/Tests/InventoryAccessModuleTests.cs | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/OpenSim/Region/CoreModules/Framework/InventoryAccess/Tests/InventoryAccessModuleTests.cs b/OpenSim/Region/CoreModules/Framework/InventoryAccess/Tests/InventoryAccessModuleTests.cs index 60a932d..7a7a8c2 100644 --- a/OpenSim/Region/CoreModules/Framework/InventoryAccess/Tests/InventoryAccessModuleTests.cs +++ b/OpenSim/Region/CoreModules/Framework/InventoryAccess/Tests/InventoryAccessModuleTests.cs | |||
@@ -143,23 +143,7 @@ namespace OpenSim.Region.CoreModules.Framework.InventoryAccess.Tests | |||
143 | // log4net.Config.XmlConfigurator.Configure(); | 143 | // log4net.Config.XmlConfigurator.Configure(); |
144 | 144 | ||
145 | // Create asset | 145 | // Create asset |
146 | SceneObjectGroup object1; | 146 | SceneObjectGroup object1 = SceneSetupHelpers.CreateSceneObject(1, m_userId, "My Little Dog Object", 0x40); |
147 | SceneObjectPart part1; | ||
148 | { | ||
149 | string partName = "My Little Dog Object"; | ||
150 | UUID ownerId = UUID.Parse("00000000-0000-0000-0000-000000000040"); | ||
151 | PrimitiveBaseShape shape = PrimitiveBaseShape.CreateSphere(); | ||
152 | Vector3 groupPosition = new Vector3(10, 20, 30); | ||
153 | Quaternion rotationOffset = new Quaternion(20, 30, 40, 50); | ||
154 | Vector3 offsetPosition = new Vector3(5, 10, 15); | ||
155 | |||
156 | part1 | ||
157 | = new SceneObjectPart( | ||
158 | ownerId, shape, groupPosition, rotationOffset, offsetPosition); | ||
159 | part1.Name = partName; | ||
160 | |||
161 | object1 = new SceneObjectGroup(part1); | ||
162 | } | ||
163 | 147 | ||
164 | UUID asset1Id = UUID.Parse("00000000-0000-0000-0000-000000000060"); | 148 | UUID asset1Id = UUID.Parse("00000000-0000-0000-0000-000000000060"); |
165 | AssetBase asset1 = AssetHelpers.CreateAsset(asset1Id, object1); | 149 | AssetBase asset1 = AssetHelpers.CreateAsset(asset1Id, object1); |