From c02fe98b7da0ef62fe67fb45652878181e4a297d Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 6 Jul 2016 16:10:44 +0100 Subject: add test option ObjectsCullingByDistance. In future, if true, it may prevent sending objects outside view range to viewers. DO NOT SET TRUE unless testing it. Code still not completei!!! --- .../OptionalModules/World/SceneCommands/SceneCommandsModule.cs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'OpenSim/Region/OptionalModules') diff --git a/OpenSim/Region/OptionalModules/World/SceneCommands/SceneCommandsModule.cs b/OpenSim/Region/OptionalModules/World/SceneCommands/SceneCommandsModule.cs index db5c7eb..cbb79d0 100644 --- a/OpenSim/Region/OptionalModules/World/SceneCommands/SceneCommandsModule.cs +++ b/OpenSim/Region/OptionalModules/World/SceneCommands/SceneCommandsModule.cs @@ -156,7 +156,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments cdl.AddRow("active", m_scene.Active); cdl.AddRow("animations", m_scene.DebugAnimations); cdl.AddRow("appear-refresh", m_scene.SendPeriodicAppearanceUpdates); - cdl.AddRow("child-repri", m_scene.ChildReprioritizationDistance); cdl.AddRow("client-pos-upd", m_scene.RootPositionUpdateTolerance); cdl.AddRow("client-rot-upd", m_scene.RootRotationUpdateTolerance); cdl.AddRow("client-vel-upd", m_scene.RootVelocityUpdateTolerance); @@ -219,15 +218,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments m_scene.SendPeriodicAppearanceUpdates = newValue; } - if (options.ContainsKey("child-repri")) - { - double newValue; - - // FIXME: This can only come from the console at the moment but might not always be true. - if (ConsoleUtil.TryParseConsoleDouble(MainConsole.Instance, options["child-repri"], out newValue)) - m_scene.ChildReprioritizationDistance = (float)newValue; - } - if (options.ContainsKey("client-pos-upd")) { float newValue; -- cgit v1.1