work around some 'tests' errors: UUID.Zero is a invalid ownerID

LSLKeyTest
UbitUmarov 2015-11-17 08:58:00 +00:00
parent 6c766f3ab4
commit 0991ad321a
1 changed files with 2 additions and 2 deletions

View File

@ -74,8 +74,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
//log4net.Config.XmlConfigurator.Configure(); //log4net.Config.XmlConfigurator.Configure();
Scene scene = new SceneHelpers().SetupScene(); Scene scene = new SceneHelpers().SetupScene();
UUID owner = UUID.Random();
SceneObjectGroup g1 = SceneHelpers.CreateSceneObject(2, UUID.Zero); SceneObjectGroup g1 = SceneHelpers.CreateSceneObject(2, owner);
g1.RootPart.Scale = new Vector3(2, 3, 4); g1.RootPart.Scale = new Vector3(2, 3, 4);
g1.Parts[1].Scale = new Vector3(5, 6, 7); g1.Parts[1].Scale = new Vector3(5, 6, 7);