diff options
author | UbitUmarov | 2017-06-07 18:15:15 +0100 |
---|---|---|
committer | UbitUmarov | 2017-06-07 18:15:15 +0100 |
commit | eca89c6e61126da9bf526e97cf06ee738f0460be (patch) | |
tree | f7f06257b09eda0d4e93854bbb7b0a142356f2a4 /OpenSim/Region/Framework | |
parent | remove nonsense SendPeriodicAppearanceUpdates. if we need such a thing, then ... (diff) | |
download | opensim-SC_OLD-eca89c6e61126da9bf526e97cf06ee738f0460be.zip opensim-SC_OLD-eca89c6e61126da9bf526e97cf06ee738f0460be.tar.gz opensim-SC_OLD-eca89c6e61126da9bf526e97cf06ee738f0460be.tar.bz2 opensim-SC_OLD-eca89c6e61126da9bf526e97cf06ee738f0460be.tar.xz |
remove some more dead scene options
Diffstat (limited to 'OpenSim/Region/Framework')
-rwxr-xr-x | OpenSim/Region/Framework/Scenes/Scene.cs | 40 |
1 files changed, 1 insertions, 39 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index bc2630f..b78ee6e 100755 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -257,32 +257,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
257 | public bool m_useFlySlow; | 257 | public bool m_useFlySlow; |
258 | public bool m_useTrashOnDelete = true; | 258 | public bool m_useTrashOnDelete = true; |
259 | 259 | ||
260 | /// <summary> | 260 | protected float m_defaultDrawDistance = 255f; |
261 | /// How much a root agent has to change position before updates are sent to viewers. | ||
262 | /// </summary> | ||
263 | public float RootPositionUpdateTolerance { get; set; } | ||
264 | |||
265 | /// <summary> | ||
266 | /// How much a root agent has to rotate before updates are sent to viewers. | ||
267 | /// </summary> | ||
268 | public float RootRotationUpdateTolerance { get; set; } | ||
269 | |||
270 | /// <summary> | ||
271 | /// How much a root agent has to change velocity before updates are sent to viewers. | ||
272 | /// </summary> | ||
273 | public float RootVelocityUpdateTolerance { get; set; } | ||
274 | |||
275 | /// <summary> | ||
276 | /// If greater than 1, we only send terse updates to other root agents on every n updates. | ||
277 | /// </summary> | ||
278 | public int RootTerseUpdatePeriod { get; set; } | ||
279 | |||
280 | /// <summary> | ||
281 | /// If greater than 1, we only send terse updates to child agents on every n updates. | ||
282 | /// </summary> | ||
283 | public int ChildTerseUpdatePeriod { get; set; } | ||
284 | |||
285 | protected float m_defaultDrawDistance = 255f; | ||
286 | protected float m_defaultCullingDrawDistance = 16f; | 261 | protected float m_defaultCullingDrawDistance = 16f; |
287 | public float DefaultDrawDistance | 262 | public float DefaultDrawDistance |
288 | { | 263 | { |
@@ -1181,16 +1156,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1181 | ObjectsCullingByDistance | 1156 | ObjectsCullingByDistance |
1182 | = interestConfig.GetBoolean("ObjectsCullingByDistance", ObjectsCullingByDistance); | 1157 | = interestConfig.GetBoolean("ObjectsCullingByDistance", ObjectsCullingByDistance); |
1183 | 1158 | ||
1184 | |||
1185 | RootTerseUpdatePeriod = interestConfig.GetInt("RootTerseUpdatePeriod", RootTerseUpdatePeriod); | ||
1186 | ChildTerseUpdatePeriod = interestConfig.GetInt("ChildTerseUpdatePeriod", ChildTerseUpdatePeriod); | ||
1187 | |||
1188 | RootPositionUpdateTolerance | ||
1189 | = interestConfig.GetFloat("RootPositionUpdateTolerance", RootPositionUpdateTolerance); | ||
1190 | RootRotationUpdateTolerance | ||
1191 | = interestConfig.GetFloat("RootRotationUpdateTolerance", RootRotationUpdateTolerance); | ||
1192 | RootVelocityUpdateTolerance | ||
1193 | = interestConfig.GetFloat("RootVelocityUpdateTolerance", RootVelocityUpdateTolerance); | ||
1194 | } | 1159 | } |
1195 | 1160 | ||
1196 | m_log.DebugFormat("[SCENE]: Using the {0} prioritization scheme", UpdatePrioritizationScheme); | 1161 | m_log.DebugFormat("[SCENE]: Using the {0} prioritization scheme", UpdatePrioritizationScheme); |
@@ -1259,9 +1224,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1259 | UpdatePrioritizationScheme = UpdatePrioritizationSchemes.Time; | 1224 | UpdatePrioritizationScheme = UpdatePrioritizationSchemes.Time; |
1260 | ReprioritizationInterval = 5000; | 1225 | ReprioritizationInterval = 5000; |
1261 | 1226 | ||
1262 | RootRotationUpdateTolerance = 0.1f; | ||
1263 | RootVelocityUpdateTolerance = 0.001f; | ||
1264 | RootPositionUpdateTolerance = 0.05f; | ||
1265 | ReprioritizationDistance = m_minReprioritizationDistance; | 1227 | ReprioritizationDistance = m_minReprioritizationDistance; |
1266 | 1228 | ||
1267 | m_eventManager = new EventManager(); | 1229 | m_eventManager = new EventManager(); |