diff options
author | Justin Clark-Casey (justincc) | 2011-04-14 20:21:44 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2011-04-14 20:21:44 +0100 |
commit | c644ab6a2c902c829a0dc88d08780a4411b4cd29 (patch) | |
tree | c19ce1d991ea1c154e19239e2d96dc1aa7d67d93 /OpenSim/Tests | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-c644ab6a2c902c829a0dc88d08780a4411b4cd29.zip opensim-SC_OLD-c644ab6a2c902c829a0dc88d08780a4411b4cd29.tar.gz opensim-SC_OLD-c644ab6a2c902c829a0dc88d08780a4411b4cd29.tar.bz2 opensim-SC_OLD-c644ab6a2c902c829a0dc88d08780a4411b4cd29.tar.xz |
Make scene object parts created by the test utils unit sized.
Diffstat (limited to 'OpenSim/Tests')
-rw-r--r-- | OpenSim/Tests/Common/Setup/SceneSetupHelpers.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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 | |||
472 | /// <param name="ownerId"></param> | 472 | /// <param name="ownerId"></param> |
473 | /// <returns></returns> | 473 | /// <returns></returns> |
474 | public static SceneObjectPart CreateSceneObjectPart(string name, UUID id, UUID ownerId) | 474 | public static SceneObjectPart CreateSceneObjectPart(string name, UUID id, UUID ownerId) |
475 | { | 475 | { |
476 | return new SceneObjectPart( | 476 | return new SceneObjectPart( |
477 | ownerId, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero) | 477 | ownerId, PrimitiveBaseShape.Default, Vector3.Zero, Quaternion.Identity, Vector3.Zero) |
478 | { Name = name, UUID = id }; | 478 | { Name = name, UUID = id, Scale = new Vector3(1, 1, 1) }; |
479 | } | 479 | } |
480 | 480 | ||
481 | /// <summary> | 481 | /// <summary> |