aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/ViewerSupport/CameraOnlyModeModule.cs
diff options
context:
space:
mode:
authorUbitUmarov2016-08-14 03:56:44 +0100
committerUbitUmarov2016-08-14 03:56:44 +0100
commit57aac3d77e663866b55ffdffc6a775613386aac7 (patch)
treee343e11600c97503c1db5157487992e508878e72 /OpenSim/Region/OptionalModules/ViewerSupport/CameraOnlyModeModule.cs
parentremove a parameter for detection of grid fail to suport getting multiple user... (diff)
downloadopensim-SC-57aac3d77e663866b55ffdffc6a775613386aac7.zip
opensim-SC-57aac3d77e663866b55ffdffc6a775613386aac7.tar.gz
opensim-SC-57aac3d77e663866b55ffdffc6a775613386aac7.tar.bz2
opensim-SC-57aac3d77e663866b55ffdffc6a775613386aac7.tar.xz
remove OptionalModules\ViewerSupport\SimulatorFeaturesHelper ShouldSend() since it cannot be used
Diffstat (limited to 'OpenSim/Region/OptionalModules/ViewerSupport/CameraOnlyModeModule.cs')
-rw-r--r--OpenSim/Region/OptionalModules/ViewerSupport/CameraOnlyModeModule.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/ViewerSupport/CameraOnlyModeModule.cs b/OpenSim/Region/OptionalModules/ViewerSupport/CameraOnlyModeModule.cs
index 7ae4223..770b1f2 100644
--- a/OpenSim/Region/OptionalModules/ViewerSupport/CameraOnlyModeModule.cs
+++ b/OpenSim/Region/OptionalModules/ViewerSupport/CameraOnlyModeModule.cs
@@ -108,8 +108,7 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport
108 { 108 {
109 if (m_Enabled) 109 if (m_Enabled)
110 { 110 {
111 IEntityTransferModule et = m_scene.RequestModuleInterface<IEntityTransferModule>(); 111 m_Helper = new SimulatorFeaturesHelper(scene);
112 m_Helper = new SimulatorFeaturesHelper(scene, et);
113 112
114 ISimulatorFeaturesModule featuresModule = m_scene.RequestModuleInterface<ISimulatorFeaturesModule>(); 113 ISimulatorFeaturesModule featuresModule = m_scene.RequestModuleInterface<ISimulatorFeaturesModule>();
115 if (featuresModule != null) 114 if (featuresModule != null)
@@ -124,7 +123,7 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport
124 private void OnSimulatorFeaturesRequest(UUID agentID, ref OSDMap features) 123 private void OnSimulatorFeaturesRequest(UUID agentID, ref OSDMap features)
125 { 124 {
126 m_log.DebugFormat("[CAMERA-ONLY MODE]: OnSimulatorFeaturesRequest in {0}", m_scene.RegionInfo.RegionName); 125 m_log.DebugFormat("[CAMERA-ONLY MODE]: OnSimulatorFeaturesRequest in {0}", m_scene.RegionInfo.RegionName);
127 if (m_Helper.ShouldSend(agentID) && m_Helper.UserLevel(agentID) <= m_UserLevel) 126 if (m_Helper.UserLevel(agentID) <= m_UserLevel)
128 { 127 {
129 OSDMap extrasMap; 128 OSDMap extrasMap;
130 if (features.ContainsKey("OpenSimExtras")) 129 if (features.ContainsKey("OpenSimExtras"))