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