diff options
author | Melanie Thielker | 2017-01-07 20:38:30 +0000 |
---|---|---|
committer | Melanie Thielker | 2017-01-07 20:38:30 +0000 |
commit | e58903be6f745f7fca2a8d652e0f2d9a9283a04f (patch) | |
tree | 8b87e0524af7f610671a13f5e872f92dd8ef9a4e /OpenSim/Region/Framework/Scenes/GodController.cs | |
parent | Change improperly named isNPC to be IsNPC as a property should be uppercase (diff) | |
download | opensim-SC-e58903be6f745f7fca2a8d652e0f2d9a9283a04f.zip opensim-SC-e58903be6f745f7fca2a8d652e0f2d9a9283a04f.tar.gz opensim-SC-e58903be6f745f7fca2a8d652e0f2d9a9283a04f.tar.bz2 opensim-SC-e58903be6f745f7fca2a8d652e0f2d9a9283a04f.tar.xz |
Correct casing on isGod and isViewerUIGod
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/GodController.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/GodController.cs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/OpenSim/Region/Framework/Scenes/GodController.cs b/OpenSim/Region/Framework/Scenes/GodController.cs index 0ccb4b6..7ed80f6 100644 --- a/OpenSim/Region/Framework/Scenes/GodController.cs +++ b/OpenSim/Region/Framework/Scenes/GodController.cs | |||
@@ -137,8 +137,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
137 | m_godlevel = m_rightsGodLevel; | 137 | m_godlevel = m_rightsGodLevel; |
138 | } | 138 | } |
139 | 139 | ||
140 | m_scenePresence.isGod = (m_godlevel >= 200); | 140 | m_scenePresence.IsGod = (m_godlevel >= 200); |
141 | m_scenePresence.isViewerUIGod = (m_viewergodlevel >= 200); | 141 | m_scenePresence.IsViewerUIGod = (m_viewergodlevel >= 200); |
142 | } | 142 | } |
143 | 143 | ||
144 | // calculates god level at sp creation from local and grid user god rights | 144 | // calculates god level at sp creation from local and grid user god rights |
@@ -176,8 +176,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
176 | { | 176 | { |
177 | m_viewergodlevel = 0; | 177 | m_viewergodlevel = 0; |
178 | m_godlevel = 0; | 178 | m_godlevel = 0; |
179 | m_scenePresence.isGod = false; | 179 | m_scenePresence.IsGod = false; |
180 | m_scenePresence.isViewerUIGod = false; | 180 | m_scenePresence.IsViewerUIGod = false; |
181 | return; | 181 | return; |
182 | } | 182 | } |
183 | 183 | ||
@@ -205,8 +205,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
205 | m_godlevel = 0; | 205 | m_godlevel = 0; |
206 | } | 206 | } |
207 | } | 207 | } |
208 | m_scenePresence.isGod = (m_godlevel >= 200); | 208 | m_scenePresence.IsGod = (m_godlevel >= 200); |
209 | m_scenePresence.isViewerUIGod = (m_viewergodlevel >= 200); | 209 | m_scenePresence.IsViewerUIGod = (m_viewergodlevel >= 200); |
210 | } | 210 | } |
211 | 211 | ||
212 | public void SyncViewerState() | 212 | public void SyncViewerState() |