From c644ab6a2c902c829a0dc88d08780a4411b4cd29 Mon Sep 17 00:00:00 2001
From: Justin Clark-Casey (justincc)
Date: Thu, 14 Apr 2011 20:21:44 +0100
Subject: Make scene object parts created by the test utils unit sized.
---
OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs')
diff --git a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
index 709dd78..eb08b62 100644
--- a/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
+++ b/OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs
@@ -472,10 +472,10 @@ namespace OpenSim.Tests.Common.Setup
///
///
public static SceneObjectPart CreateSceneObjectPart(string name, UUID id, UUID ownerId)
- {
+ {
return new SceneObjectPart(
ownerId, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero)
- { Name = name, UUID = id };
+ { Name = name, UUID = id, Scale = new Vector3(1, 1, 1) };
}
///
--
cgit v1.1