diff options
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index fac0466..fc86707 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -241,11 +241,11 @@ namespace OpenSim.Data.Tests | |||
241 | string sitname = "SitName"; | 241 | string sitname = "SitName"; |
242 | string touchname = "TouchName"; | 242 | string touchname = "TouchName"; |
243 | int linknum = random.Next(); | 243 | int linknum = random.Next(); |
244 | byte clickaction = (byte) random.Next(255); | 244 | byte clickaction = (byte) random.Next(127); |
245 | PrimitiveBaseShape pbshap = new PrimitiveBaseShape(); | 245 | PrimitiveBaseShape pbshap = new PrimitiveBaseShape(); |
246 | pbshap = PrimitiveBaseShape.Default; | 246 | pbshap = PrimitiveBaseShape.Default; |
247 | Vector3 scale = new Vector3(random.Next(),random.Next(),random.Next()); | 247 | Vector3 scale = new Vector3(random.Next(),random.Next(),random.Next()); |
248 | byte updatef = (byte) random.Next(255); | 248 | byte updatef = (byte) random.Next(127); |
249 | 249 | ||
250 | SceneObjectPart sop = new SceneObjectPart(); | 250 | SceneObjectPart sop = new SceneObjectPart(); |
251 | sop.RegionHandle = regionh; | 251 | sop.RegionHandle = regionh; |
@@ -402,11 +402,11 @@ namespace OpenSim.Data.Tests | |||
402 | string sitname = RandomName(); | 402 | string sitname = RandomName(); |
403 | string touchname = RandomName(); | 403 | string touchname = RandomName(); |
404 | int linknum = random.Next(); | 404 | int linknum = random.Next(); |
405 | byte clickaction = (byte) random.Next(255); | 405 | byte clickaction = (byte) random.Next(127); |
406 | PrimitiveBaseShape pbshap = new PrimitiveBaseShape(); | 406 | PrimitiveBaseShape pbshap = new PrimitiveBaseShape(); |
407 | pbshap = PrimitiveBaseShape.Default; | 407 | pbshap = PrimitiveBaseShape.Default; |
408 | Vector3 scale = new Vector3(random.Next(),random.Next(),random.Next()); | 408 | Vector3 scale = new Vector3(random.Next(),random.Next(),random.Next()); |
409 | byte updatef = (byte) random.Next(255); | 409 | byte updatef = (byte) random.Next(127); |
410 | 410 | ||
411 | // Updates the region with new values | 411 | // Updates the region with new values |
412 | SceneObjectGroup sog2 = FindSOG("Adam West", region3); | 412 | SceneObjectGroup sog2 = FindSOG("Adam West", region3); |
@@ -611,7 +611,7 @@ namespace OpenSim.Data.Tests | |||
611 | i.GroupOwned = groupown; | 611 | i.GroupOwned = groupown; |
612 | int saleprice = random.Next(); | 612 | int saleprice = random.Next(); |
613 | i.SalePrice = saleprice; | 613 | i.SalePrice = saleprice; |
614 | byte saletype = (byte) random.Next(255); | 614 | byte saletype = (byte) random.Next(127); |
615 | i.SaleType = saletype; | 615 | i.SaleType = saletype; |
616 | uint flags = (uint) random.Next(); | 616 | uint flags = (uint) random.Next(); |
617 | i.Flags = flags; | 617 | i.Flags = flags; |