mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
Make scene object parts created by the test utils unit sized.
This commit is contained in:
@@ -472,10 +472,10 @@ namespace OpenSim.Tests.Common.Setup
|
||||
/// <param name="ownerId"></param>
|
||||
/// <returns></returns>
|
||||
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) };
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user