add a 3 to 1 daycycle and make it the default

master
UbitUmarov 2020-06-21 14:27:24 +01:00
parent 5b87347476
commit 53b0ee242d
4 changed files with 24 additions and 4 deletions

View File

@ -65,7 +65,10 @@ namespace OpenSim.Region.CoreModules.World.LightShare
private ILandChannel m_landChannel;
private static ViewerEnvironment m_DefaultEnv = null;
private static readonly string m_defaultDayAssetID = "5646d39e-d3d7-6aff-ed71-30fc87d64a91";
// 1/1 night day ratio
//private static readonly string m_defaultDayAssetID = "5646d39e-d3d7-6aff-ed71-30fc87d64a91";
// 3/1 night day ratio
private static readonly string m_defaultDayAssetID = "5646d39e-d3d7-6aff-ed71-30fc87d64a92";
private int m_regionEnvVersion = -1;

File diff suppressed because one or more lines are too long

View File

@ -1,9 +1,16 @@
<Nini>
<Section Name="Default Daycycle(3/1)">
<Key Name="assetID" Value="5646d39e-d3d7-6aff-ed71-30fc87d64a92" />
<Key Name="name" Value="Default Daycycle(3/1)" />
<Key Name="assetType" Value="56" />
<Key Name="fileName" Value="DefaultDaycycle31.dat" />
</Section>
<Section Name="Default Daycycle">
<Key Name="assetID" Value="5646d39e-d3d7-6aff-ed71-30fc87d64a91" />
<Key Name="name" Value="Default Daycycle" />
<Key Name="assetType" Value="56" />
<Key Name="fileName" Value="DefaultDaycycle.xml" />
<Key Name="fileName" Value="DefaultDaycycle.dat" />
</Section>
<Section Name="Sunrise">

View File

@ -29,12 +29,23 @@
<Key Name="inventoryID" Value="25210112-000f-0000-0000-000100bba025" />
<Key Name="assetID" Value="5646d39e-d3d7-6aff-ed71-30fc87d64a91" />
<Key Name="folderID" Value="25200112-000f-0000-0000-000100bba025"/>
<Key Name="description" Value="Default Daycycle" />
<Key Name="description" Value="Default Daycycle with equal night and day durations" />
<Key Name="name" Value="Default Daycycle" />
<Key Name="assetType" Value="56" />
<Key Name="inventoryType" Value="25" />
<Key Name="flags" Value="2" />
</Section>
<Section Name="Default Daycycle(3/1)">
<Key Name="inventoryID" Value="25210112-000f-0001-0000-000100bba125" />
<Key Name="assetID" Value="5646d39e-d3d7-6aff-ed71-30fc87d64a92" />
<Key Name="folderID" Value="25200112-000f-0000-0000-000100bba025"/>
<Key Name="description" Value="Default Daycycle 3 to 1 day/night duration ratio" />
<Key Name="name" Value="Default Daycycle(3/1)" />
<Key Name="assetType" Value="56" />
<Key Name="inventoryType" Value="25" />
<Key Name="flags" Value="2" />
</Section>
</Nini>