mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
add another eep texture tp default assets
This commit is contained in:
@@ -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
|
||||
|
||||
Binary file not shown.
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user