diff options
author | onefang | 2019-05-19 22:52:49 +1000 |
---|---|---|
committer | onefang | 2019-05-19 22:52:49 +1000 |
commit | afb347fbc0ae726ed352cc0b3cb10a483729639b (patch) | |
tree | 07a85f12ba4d10fa438ba2250a6648b2703aec85 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs | |
parent | Less Oh Silly Threat detection. (diff) | |
download | opensim-SC_OLD-afb347fbc0ae726ed352cc0b3cb10a483729639b.zip opensim-SC_OLD-afb347fbc0ae726ed352cc0b3cb10a483729639b.tar.gz opensim-SC_OLD-afb347fbc0ae726ed352cc0b3cb10a483729639b.tar.bz2 opensim-SC_OLD-afb347fbc0ae726ed352cc0b3cb10a483729639b.tar.xz |
More script speed ups.
Don't waste time collecting bogus statistics. At least I think they are
bogus.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs index 238fefb..e50b7fd 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LS_Api.cs | |||
@@ -120,7 +120,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
120 | LSShoutError("LightShare functions are not enabled."); | 120 | LSShoutError("LightShare functions are not enabled."); |
121 | return new LSL_List(); | 121 | return new LSL_List(); |
122 | } | 122 | } |
123 | m_host.AddScriptLPS(1); | ||
124 | RegionLightShareData wl = m_host.ParentGroup.Scene.RegionInfo.WindlightSettings; | 123 | RegionLightShareData wl = m_host.ParentGroup.Scene.RegionInfo.WindlightSettings; |
125 | 124 | ||
126 | LSL_List values = new LSL_List(); | 125 | LSL_List values = new LSL_List(); |
@@ -729,7 +728,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
729 | } | 728 | } |
730 | 729 | ||
731 | int success = 0; | 730 | int success = 0; |
732 | m_host.AddScriptLPS(1); | ||
733 | 731 | ||
734 | if (LightShareModule.EnableWindlight) | 732 | if (LightShareModule.EnableWindlight) |
735 | { | 733 | { |
@@ -807,7 +805,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
807 | } | 805 | } |
808 | 806 | ||
809 | int success = 0; | 807 | int success = 0; |
810 | m_host.AddScriptLPS(1); | ||
811 | 808 | ||
812 | if (LightShareModule.EnableWindlight) | 809 | if (LightShareModule.EnableWindlight) |
813 | { | 810 | { |