mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 08:06:27 +08:00
Save a couple of estate settings in OAR files.
The settings that are saved are: * AllowDirectTeleport - required in order to make Telehubs work * AllowEnvironmentOverride - required in order to allow parcels to have different EEP settings from the region
This commit is contained in:
@@ -130,7 +130,7 @@ namespace OpenSim.Framework.Serialization.Tests
|
||||
TestHelpers.InMethod();
|
||||
// log4net.Config.XmlConfigurator.Configure();
|
||||
|
||||
RegionSettings deserRs = RegionSettingsSerializer.Deserialize(m_serializedRs, out ViewerEnvironment dummy);
|
||||
RegionSettings deserRs = RegionSettingsSerializer.Deserialize(m_serializedRs, out ViewerEnvironment dummy, new EstateSettings());
|
||||
Assert.That(deserRs, Is.Not.Null);
|
||||
Assert.That(deserRs.TerrainTexture2, Is.EqualTo(m_rs.TerrainTexture2));
|
||||
Assert.That(deserRs.DisablePhysics, Is.EqualTo(m_rs.DisablePhysics));
|
||||
|
||||
Reference in New Issue
Block a user