MAINT-8291 Fixed Scripts memory usage returns incorrect values in estate tools

Thu, 15 Feb 2018 15:47:31 +0200

author
andreykproductengine <andreykproductengine@lindenlab.com>
date
Thu, 15 Feb 2018 15:47:31 +0200
changeset 55284
6c6e8ceffbfd
parent 55283
9c7c7649960e
child 55285
c8b6574c3f5b

MAINT-8291 Fixed Scripts memory usage returns incorrect values in estate tools

indra/newview/llfloatertopobjects.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llfloatertopobjects.cpp	Wed Feb 14 17:55:37 2018 +0200
     1.2 +++ b/indra/newview/llfloatertopobjects.cpp	Thu Feb 15 15:47:31 2018 +0200
     1.3 @@ -236,7 +236,7 @@
     1.4  			&& have_extended_data)
     1.5  		{
     1.6  			columns[column_num]["column"] = "memory";
     1.7 -			columns[column_num]["value"] = llformat("%0.0f", (script_memory / 1000.f));
     1.8 +			columns[column_num]["value"] = llformat("%0.0f", (script_memory / 1024.f));
     1.9  			columns[column_num++]["font"] = "SANSSERIF";
    1.10  
    1.11  			columns[column_num]["column"] = "URLs";

mercurial