Adding new string-parameter: "region_max_prims" for llGetEnv(string name);

Signed-off-by: Mandarinka Tasty <mandarinka.tasty@gmail.com>
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
melanie
Mandarinka Tasty 2016-12-04 08:26:29 +01:00 committed by UbitUmarov
parent 2ff75e7692
commit 2a29a270da
1 changed files with 4 additions and 0 deletions

View File

@ -6303,6 +6303,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
IUrlModule UrlModule = World.RequestModuleInterface<IUrlModule>(); IUrlModule UrlModule = World.RequestModuleInterface<IUrlModule>();
return UrlModule.ExternalHostNameForLSL; return UrlModule.ExternalHostNameForLSL;
} }
else if (name == "region_max_prims")
{
return World.RegionInfo.ObjectCapacity.ToString();
}
else else
{ {
return ""; return "";