[Opensim-dev] [Opensim-commits] r6249 - trunk/OpenSim/Region/ScriptEngine/Common

Justin Clark-Casey jjustincc at googlemail.com
Fri Sep 12 16:06:22 UTC 2008


sdague at opensimulator.org wrote:
> Author: sdague
> Date: 2008-09-12 08:04:16 -0700 (Fri, 12 Sep 2008)
> New Revision: 6249
> 
> Modified:
>    trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
> Log:
> add the m_host.AddScriptLPS(1); line.  I'm not actually sure what it
> does, but it seems every other function here has it, so it is probably
> needed.

I believe that it adds one to the script lines per second executed statistic that can be seen in the viewer.

> 
> 
> Modified: trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs
> ===================================================================
> --- trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs	2008-09-12 15:04:13 UTC (rev 6248)
> +++ trunk/OpenSim/Region/ScriptEngine/Common/OSSL_BuilIn_Commands.cs	2008-09-12 15:04:16 UTC (rev 6249)
> @@ -586,6 +586,8 @@
>          
>          public Hashtable osParseJSON(string JSON)
>          {
> +            m_host.AddScriptLPS(1);
> +
>              // see http://www.json.org/ for more details on JSON
>              
>              string currentKey=null;
> 
> _______________________________________________
> Opensim-commits mailing list
> Opensim-commits at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/opensim-commits
> 


-- 
justincc
Justin Clark-Casey
http://justincc.wordpress.com



More information about the Opensim-dev mailing list