diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/ViewerSupport/SpecialUIModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/ViewerSupport/SpecialUIModule.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/OptionalModules/ViewerSupport/SpecialUIModule.cs b/OpenSim/Region/OptionalModules/ViewerSupport/SpecialUIModule.cs index 6415c6c..0a8c83a 100644 --- a/OpenSim/Region/OptionalModules/ViewerSupport/SpecialUIModule.cs +++ b/OpenSim/Region/OptionalModules/ViewerSupport/SpecialUIModule.cs | |||
@@ -95,8 +95,6 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport | |||
95 | if (m_Enabled) | 95 | if (m_Enabled) |
96 | { | 96 | { |
97 | m_scene = scene; | 97 | m_scene = scene; |
98 | IEntityTransferModule et = m_scene.RequestModuleInterface<IEntityTransferModule>(); | ||
99 | m_Helper = new SimulatorFeaturesHelper(scene, et); | ||
100 | } | 98 | } |
101 | } | 99 | } |
102 | 100 | ||
@@ -104,9 +102,11 @@ namespace OpenSim.Region.OptionalModules.ViewerSupport | |||
104 | { | 102 | { |
105 | if (m_Enabled) | 103 | if (m_Enabled) |
106 | { | 104 | { |
107 | ISimulatorFeaturesModule featuresModule = m_scene.RequestModuleInterface<ISimulatorFeaturesModule>(); | 105 | IEntityTransferModule et = m_scene.RequestModuleInterface<IEntityTransferModule>(); |
106 | m_Helper = new SimulatorFeaturesHelper(scene, et); | ||
108 | 107 | ||
109 | if (featuresModule != null && m_Enabled) | 108 | ISimulatorFeaturesModule featuresModule = m_scene.RequestModuleInterface<ISimulatorFeaturesModule>(); |
109 | if (featuresModule != null) | ||
110 | featuresModule.OnSimulatorFeaturesRequest += OnSimulatorFeaturesRequest; | 110 | featuresModule.OnSimulatorFeaturesRequest += OnSimulatorFeaturesRequest; |
111 | } | 111 | } |
112 | } | 112 | } |