establish a minimun for ReprioritizationDistance

This commit is contained in:
UbitUmarov
2015-12-19 17:39:42 +00:00
parent 48f6010a1c
commit 01a27e8c71
2 changed files with 15 additions and 9 deletions

View File

@@ -225,7 +225,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.Attachments
// 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 = newValue;
m_scene.ChildReprioritizationDistance = (float)newValue;
}
if (options.ContainsKey("client-pos-upd"))