summaryrefslogtreecommitdiff
path: root/indra/newview/skins/default/xui
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2011-01-26 11:13:04 -0700
committerXiaohong Bao <bao@lindenlab.com>2011-01-26 11:13:04 -0700
commit8f54dc2958e75587165623b0292940200fb49f59 (patch)
tree33b40418e686a572e2154f07aaa2a5d377e9b10e /indra/newview/skins/default/xui
parenteec332cfbe200f585d8fd382867b90d89d1ab5c0 (diff)
for SH-846: design and implement the debug code to locate memory leaking
Diffstat (limited to 'indra/newview/skins/default/xui')
-rw-r--r--indra/newview/skins/default/xui/en/menu_viewer.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/skins/default/xui/en/menu_viewer.xml b/indra/newview/skins/default/xui/en/menu_viewer.xml
index c2735c85e4..08ae0c233e 100644
--- a/indra/newview/skins/default/xui/en/menu_viewer.xml
+++ b/indra/newview/skins/default/xui/en/menu_viewer.xml
@@ -1990,6 +1990,16 @@
function="ToggleControl"
parameter="DebugShowColor" />
</menu_item_check>
+ <menu_item_check
+ label="Show Memory"
+ name="Show Memory">
+ <menu_item_check.on_check
+ function="CheckControl"
+ parameter="DebugShowMemory" />
+ <menu_item_check.on_click
+ function="ToggleControl"
+ parameter="DebugShowMemory" />
+ </menu_item_check>
<menu_item_separator/>