diff options
author | Mandarinka Tasty | 2016-12-04 08:26:29 +0100 |
---|---|---|
committer | UbitUmarov | 2016-12-04 10:32:06 +0000 |
commit | 2a29a270da2cf2c7676437c4b02dad0ed2f4f721 (patch) | |
tree | a83d9444e38f779e41d7d15b4973af3ec472ef1a /OpenSim | |
parent | ubMeshmerizer, fix the orientation of last triangle on top/bottom faces in ca... (diff) | |
download | opensim-SC_OLD-2a29a270da2cf2c7676437c4b02dad0ed2f4f721.zip opensim-SC_OLD-2a29a270da2cf2c7676437c4b02dad0ed2f4f721.tar.gz opensim-SC_OLD-2a29a270da2cf2c7676437c4b02dad0ed2f4f721.tar.bz2 opensim-SC_OLD-2a29a270da2cf2c7676437c4b02dad0ed2f4f721.tar.xz |
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>
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index 9c8d40a..763106f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -6303,6 +6303,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
6303 | IUrlModule UrlModule = World.RequestModuleInterface<IUrlModule>(); | 6303 | IUrlModule UrlModule = World.RequestModuleInterface<IUrlModule>(); |
6304 | return UrlModule.ExternalHostNameForLSL; | 6304 | return UrlModule.ExternalHostNameForLSL; |
6305 | } | 6305 | } |
6306 | else if (name == "region_max_prims") | ||
6307 | { | ||
6308 | return World.RegionInfo.ObjectCapacity.ToString(); | ||
6309 | } | ||
6306 | else | 6310 | else |
6307 | { | 6311 | { |
6308 | return ""; | 6312 | return ""; |