add another eep texture tp default assets

This commit is contained in:
UbitUmarov
2022-04-11 02:06:02 +01:00
parent 883c857ae0
commit 1cc6a52e87
3 changed files with 11 additions and 7 deletions

View File

@@ -128,17 +128,13 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport
m_log.DebugFormat("[CAMERA-ONLY MODE]: OnSimulatorFeaturesRequest in {0}", m_scene.RegionInfo.RegionName);
if (m_Helper.UserLevel(agentID) <= m_UserLevel)
{
OSDMap extrasMap;
if (features.ContainsKey("OpenSimExtras"))
{
extrasMap = (OSDMap)features["OpenSimExtras"];
}
else
if (!features.TryGetValue("OpenSimExtras", out OSD extrasMap))
{
extrasMap = new OSDMap();
features["OpenSimExtras"] = extrasMap;
}
extrasMap["camera-only-mode"] = OSDMap.FromString("true");
((OSDMap)extrasMap)["camera-only-mode"] = OSDMap.FromString("true");
m_log.DebugFormat("[CAMERA-ONLY MODE]: Sent in {0}", m_scene.RegionInfo.RegionName);
}
else

View File

@@ -898,4 +898,12 @@
<Key Name="fileName" Value="moon.jp2"/>
</Section>
<Section Name = "DefaultSun">
<Key Name = "assetID" Value = "32bfbcea-24b1-fb9d-1ef9-48a28a63730f" />
<Key Name = "name" Value = "DefaultSun" />
<Key Name = "description" Value = "animation" />
<Key Name = "assetType" Value = "0" />
<Key Name = "fileName" Value = "32bfbcea-24b1-fb9d-1ef9-48a28a63730f.dat" />
</Section>
</Nini>